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

jmr at macports.org jmr at macports.org
Thu Jan 5 11:08:15 PST 2012


Revision: 88598
          http://trac.macports.org/changeset/88598
Author:   jmr at macports.org
Date:     2012-01-05 11:08:14 -0800 (Thu, 05 Jan 2012)
Log Message:
-----------
add missing global declarations to path_is_in_prefix

Modified Paths:
--------------
    trunk/base/src/macports1.0/macports.tcl

Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl	2012-01-05 17:17:45 UTC (rev 88597)
+++ trunk/base/src/macports1.0/macports.tcl	2012-01-05 19:08:14 UTC (rev 88598)
@@ -4166,6 +4166,7 @@
 # Usage: path_is_in_prefix path_to_test
 # Returns true if the path is in the prefix, false otherwise
 proc path_is_in_prefix {path} {
+    global macports::prefix macports::applications_dir
     if {[string first $macports::prefix $path] == 0} {
         return yes
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120105/dca7f267/attachment.html>


More information about the macports-changes mailing list