[89220] trunk/base/src/port/port.tcl
raimue at macports.org
raimue at macports.org
Sat Jan 21 08:56:54 PST 2012
Revision: 89220
http://trac.macports.org/changeset/89220
Author: raimue at macports.org
Date: 2012-01-21 08:56:52 -0800 (Sat, 21 Jan 2012)
Log Message:
-----------
port.tcl:
Restrict port select behavior to options related to this action.
Other global options could break this before (e.g. a global ports_source_only).
Modified Paths:
--------------
trunk/base/src/port/port.tcl
Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl 2012-01-21 16:28:09 UTC (rev 89219)
+++ trunk/base/src/port/port.tcl 2012-01-21 16:56:52 UTC (rev 89220)
@@ -2433,7 +2433,9 @@
}
set group [lindex $portlist 0]
- set commands [array names [array set {} $opts]]
+ array set opts_array $opts
+ set commands [array names opts_array ports_select_*]
+ array unset opts_array
# If no command (--set, --show, --list) is specified *but* more than one
# argument is specified, default to the set command.
if {[llength $commands] < 1 && [llength $portlist] > 1} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120121/d9bcb9df/attachment.html>
More information about the macports-changes
mailing list