[102478] trunk/base/src/macports1.0/macports.tcl

raimue at macports.org raimue at macports.org
Mon Feb 4 05:23:56 PST 2013


Revision: 102478
          https://trac.macports.org/changeset/102478
Author:   raimue at 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:
--------------
    trunk/base/src/macports1.0/macports.tcl

Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- 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} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130204/bb00efe6/attachment.html>


More information about the macports-changes mailing list