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

jmr at macports.org jmr at macports.org
Sat Jan 7 05:51:25 PST 2012


Revision: 88668
          http://trac.macports.org/changeset/88668
Author:   jmr at macports.org
Date:     2012-01-07 05:51:22 -0800 (Sat, 07 Jan 2012)
Log Message:
-----------
set a default for macports::applications_dir since path_is_in_prefix expects it to always exist

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-07 13:35:50 UTC (rev 88667)
+++ trunk/base/src/macports1.0/macports.tcl	2012-01-07 13:51:22 UTC (rev 88668)
@@ -706,6 +706,10 @@
     # can always get to the original prefix, even if a portfile overrides prefix
     set macports::prefix_frozen $prefix
 
+    if {![info exists macports::applications_dir]} {
+        set macports::applications_dir /Applications/MacPorts
+    }
+
     # Export verbosity.
     if {![info exists portverbose]} {
         set macports::portverbose "no"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120107/edc9d1b5/attachment.html>


More information about the macports-changes mailing list