[43230] branches/release_1_7
blb at macports.org
blb at macports.org
Sun Dec 7 01:07:08 PST 2008
Revision: 43230
http://trac.macports.org/changeset/43230
Author: blb at macports.org
Date: 2008-12-07 01:07:07 -0800 (Sun, 07 Dec 2008)
Log Message:
-----------
Merge r43229 from trunk : 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:
--------------
branches/release_1_7/base/portmgr/dmg/postflight
Property Changed:
----------------
branches/release_1_7/
Property changes on: branches/release_1_7
___________________________________________________________________
Modified: svn:mergeinfo
- /trunk:42683,42697,42734,42747,42760,42845-42847,42865,42962,42978,43001,43080,43083,43140,43153,43194,43216-43217
+ /trunk:42683,42697,42734,42747,42760,42845-42847,42865,42962,42978,43001,43080,43083,43140,43153,43194,43216-43217,43229
Modified: branches/release_1_7/base/portmgr/dmg/postflight
===================================================================
--- branches/release_1_7/base/portmgr/dmg/postflight 2008-12-07 09:05:20 UTC (rev 43229)
+++ branches/release_1_7/base/portmgr/dmg/postflight 2008-12-07 09:07:07 UTC (rev 43230)
@@ -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/6615d73d/attachment.html>
More information about the macports-changes
mailing list