[92905] branches/release_2_1
jmr at macports.org
jmr at macports.org
Thu May 10 07:37:28 PDT 2012
Revision: 92905
https://trac.macports.org/changeset/92905
Author: jmr at macports.org
Date: 2012-05-10 07:37:28 -0700 (Thu, 10 May 2012)
Log Message:
-----------
merge r92903 from trunk:
fix path to scripts for flat pkgs
Revision Links:
--------------
https://trac.macports.org/changeset/92903
Modified Paths:
--------------
branches/release_2_1/base/portmgr/dmg/postflight
Property Changed:
----------------
branches/release_2_1/
branches/release_2_1/base/
Property changes on: branches/release_2_1
___________________________________________________________________
Modified: svn:mergeinfo
- /trunk:91825,91829,91834,92072,92342,92404,92546,92730,92785,92881
+ /trunk:91825,91829,91834,92072,92342,92404,92546,92730,92785,92881,92903
Property changes on: branches/release_2_1/base
___________________________________________________________________
Modified: svn:mergeinfo
- /branches/gsoc08-privileges/base:37343-46937
/branches/gsoc09-logging/base:51231-60371
/branches/gsoc11-rev-upgrade/base:78828-88375
/branches/universal-sanity/base:51872-52323
/branches/variant-descs-14482/base:34469-34855,34900-37508,37511-37512,41040-41463,42575-42626,42640-42659
/trunk/base:91825,91829,91834,92072,92342,92404,92546,92730,92785,92881
/users/perry/base-bugs_and_notes:45682-46060
/users/perry/base-select:44044-44692
+ /branches/gsoc08-privileges/base:37343-46937
/branches/gsoc09-logging/base:51231-60371
/branches/gsoc11-rev-upgrade/base:78828-88375
/branches/universal-sanity/base:51872-52323
/branches/variant-descs-14482/base:34469-34855,34900-37508,37511-37512,41040-41463,42575-42626,42640-42659
/trunk/base:91825,91829,91834,92072,92342,92404,92546,92730,92785,92881,92903
/users/perry/base-bugs_and_notes:45682-46060
/users/perry/base-select:44044-44692
Modified: branches/release_2_1/base/portmgr/dmg/postflight
===================================================================
--- branches/release_2_1/base/portmgr/dmg/postflight 2012-05-10 14:36:53 UTC (rev 92904)
+++ branches/release_2_1/base/portmgr/dmg/postflight 2012-05-10 14:37:28 UTC (rev 92905)
@@ -36,7 +36,7 @@
#set -x
# Script identification ('cause more often than not the svn Id is not expanded):
-VERSION=2.0.99
+VERSION=2.1.0
# Abstraction variables:
PREFIX=__PREFIX__
@@ -67,12 +67,13 @@
# Command to update the MacPorts installation through "selfupdate":
function update_macports {
+ SCRIPT_DIR=$(dirname $0)
# Add [default] tag to the central MacPorts repository, if it isn't already
echo "Adding [default] tag to sources.conf if needed..."
- ${TCLSH} ${PACKAGE_PATH}/Contents/Resources/upgrade_sources_conf_default.tcl ${PREFIX}
+ ${TCLSH} ${SCRIPT_DIR}/upgrade_sources_conf_default.tcl ${PREFIX}
# Convert image directories (and direct mode installs) to image archives
echo "Updating port image format..."
- ${TCLSH} ${PACKAGE_PATH}/Contents/Resources/images_to_archives.tcl ${MACPORTS_TCL_DIR}
+ ${TCLSH} ${SCRIPT_DIR}/images_to_archives.tcl ${MACPORTS_TCL_DIR}
echo "Synchronizing the MacPorts installation with the project's rsync server..."
if ! ${BINPATH}/port -v selfupdate; then
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120510/af320613/attachment.html>
More information about the macports-changes
mailing list