[89223] trunk/base/src/port/port.tcl
raimue at macports.org
raimue at macports.org
Sat Jan 21 10:24:00 PST 2012
Revision: 89223
http://trac.macports.org/changeset/89223
Author: raimue at macports.org
Date: 2012-01-21 10:23:58 -0800 (Sat, 21 Jan 2012)
Log Message:
-----------
port.tcl:
List local options in 'port echo' only, remove global options.
Modified Paths:
--------------
trunk/base/src/port/port.tcl
Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl 2012-01-21 17:40:22 UTC (rev 89222)
+++ trunk/base/src/port/port.tcl 2012-01-21 18:23:58 UTC (rev 89223)
@@ -3623,12 +3623,16 @@
proc action_echo { action portlist opts } {
+ global global_options
+
# Simply echo back the port specs given to this command
foreachport $portlist {
if {![macports::ui_isset ports_quiet]} {
set opts {}
foreach { key value } [array get options] {
- lappend opts "$key=$value"
+ if ![info exists global_options($key)] {
+ lappend opts "$key=$value"
+ }
}
set composite_version [composite_version $portversion [array get variations] 1]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120121/00f12e0e/attachment.html>
More information about the macports-changes
mailing list