[43231] tags/release_1_7_0-rc1

blb at macports.org blb at macports.org
Sun Dec 7 01:09:14 PST 2008


Revision: 43231
          http://trac.macports.org/changeset/43231
Author:   blb at macports.org
Date:     2008-12-07 01:09:13 -0800 (Sun, 07 Dec 2008)
Log Message:
-----------
Merge r43230 from the 1.7 branch: fix a doubly-stupid mistake where $0 is the
script name, $1 is the package path, however since this was in a function those
are the arguments to said function, so use PACKAGE_PATH (set by the
installer)

Modified Paths:
--------------
    tags/release_1_7_0-rc1/base/portmgr/dmg/postflight

Property Changed:
----------------
    tags/release_1_7_0-rc1/


Property changes on: tags/release_1_7_0-rc1
___________________________________________________________________
Modified: svn:mergeinfo
   - /branches/release_1_7:43187-43219
/trunk:42683,42697,42734,42747,42760,42845-42847,42865,42962,42978,43001,43080,43083,43140,43153,43194,43216-43217
   + /branches/release_1_7:43187-43230
/trunk:42683,42697,42734,42747,42760,42845-42847,42865,42962,42978,43001,43080,43083,43140,43153,43194,43216-43217,43229

Modified: tags/release_1_7_0-rc1/base/portmgr/dmg/postflight
===================================================================
--- tags/release_1_7_0-rc1/base/portmgr/dmg/postflight	2008-12-07 09:07:07 UTC (rev 43230)
+++ tags/release_1_7_0-rc1/base/portmgr/dmg/postflight	2008-12-07 09:09:13 UTC (rev 43231)
@@ -60,9 +60,9 @@
     fi
     
     # Add [default] tag to the central MacPorts repository, if it isn't already
-    ${TCLSH} ${0}/Contents/Resources/upgrade_sources_conf_default.tcl ${PREFIX}
+    ${TCLSH} ${PACKAGE_PATH}/Contents/Resources/upgrade_sources_conf_default.tcl ${PREFIX}
     # Remove any duplicates from the dep map (could occur with 1.6 and earlier)
-    ${TCLSH} ${0}/Contents/Resources/dep_map_clean.tcl ${TCL_PACKAGE_DIR}
+    ${TCLSH} ${PACKAGE_PATH}/Contents/Resources/dep_map_clean.tcl ${TCL_PACKAGE_DIR}
 }
 
 # Through this command we write an environment variable to an appropriate shell configuration file,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081207/bed145f8/attachment.html>


More information about the macports-changes mailing list