Revision
102478
Author
raimue@macports.org
Date
2013-02-04 05:23:56 -0800 (Mon, 04 Feb 2013)

Log Message

macports1.0:
_mportsearchpath returned the wrong filename as the search was not stopped when
finding a match, but continued with the next directory.

This fixes _get_dep_port in port1.0/portutil.tcl that always got the wrong
results from this proc.

Modified Paths

Diff

Modified: trunk/base/src/macports1.0/macports.tcl (102477 => 102478)


--- trunk/base/src/macports1.0/macports.tcl	2013-02-04 13:21:34 UTC (rev 102477)
+++ trunk/base/src/macports1.0/macports.tcl	2013-02-04 13:23:56 UTC (rev 102478)
@@ -1730,6 +1730,10 @@
                 break
             }
         }
+
+        if {$found} {
+            break
+        }
     }
     if {$return_match} {
         if {$found} {