[43856] trunk/base/src/port/port.tcl

perry at macports.org perry at macports.org
Mon Dec 15 16:47:48 PST 2008


Revision: 43856
          http://trac.macports.org/changeset/43856
Author:   perry at macports.org
Date:     2008-12-15 16:47:48 -0800 (Mon, 15 Dec 2008)
Log Message:
-----------
port/port.tcl - Moved the 'array unset variants' in action_variants.

Modified Paths:
--------------
    trunk/base/src/port/port.tcl

Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl	2008-12-16 00:38:32 UTC (rev 43855)
+++ trunk/base/src/port/port.tcl	2008-12-16 00:47:48 UTC (rev 43856)
@@ -2095,6 +2095,7 @@
         }
     
         array unset portinfo
+        array unset variants
         array set portinfo [lindex $result 1]
         # set portname again since the one we were passed may not have had the correct case
         set portname $portinfo(name)
@@ -2107,7 +2108,6 @@
                 break_softcontinue "Unable to open port: $result" 1 status
             }
             array unset portinfo
-            array unset variants
             array set portinfo [mportinfo $mport]
             mportclose $mport
             if {[info exists portdir]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081215/9e4f734e/attachment.html>


More information about the macports-changes mailing list