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

perry at macports.org perry at macports.org
Fri Dec 19 00:07:06 PST 2008


Revision: 43989
          http://trac.macports.org/changeset/43989
Author:   perry at macports.org
Date:     2008-12-19 00:06:58 -0800 (Fri, 19 Dec 2008)
Log Message:
-----------
port/port.tcl - Yet another array (vinfo) wasn't being cleared.
`port variants apache2` now returns the correct output.

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

Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl	2008-12-19 07:51:15 UTC (rev 43988)
+++ trunk/base/src/port/port.tcl	2008-12-19 08:06:58 UTC (rev 43989)
@@ -2133,6 +2133,7 @@
             # print out all the variants
             puts "$portname has the variants:"
             foreach vname [ lsort [ array names variants ] ] {
+                array unset vinfo
                 array set vinfo $variants($vname)
 
                 puts -nonewline "\t$vname"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081219/bb207ce0/attachment-0001.html>


More information about the macports-changes mailing list