[32708] branches/release_1_6/base/portmgr/dmg/postflight
jmpp at macports.org
jmpp at macports.org
Fri Jan 11 10:49:42 PST 2008
Revision: 32708
http://trac.macosforge.org/projects/macports/changeset/32708
Author: jmpp at macports.org
Date: 2008-01-11 10:49:40 -0800 (Fri, 11 Jan 2008)
Log Message:
-----------
Unify the timetamps into a single varible, use it.
Modified Paths:
--------------
branches/release_1_6/base/portmgr/dmg/postflight
Modified: branches/release_1_6/base/portmgr/dmg/postflight
===================================================================
--- branches/release_1_6/base/portmgr/dmg/postflight 2008-01-11 17:42:27 UTC (rev 32707)
+++ branches/release_1_6/base/portmgr/dmg/postflight 2008-01-11 18:49:40 UTC (rev 32708)
@@ -40,8 +40,9 @@
BINPATH=${PREFIX}/bin
SBINPATH=${PREFIX}/sbin
MANPAGES=${PREFIX}/share/man
-BACKUP_SUFFIX=macports-saved_"$(date +"%Y-%m-%d_at_%H:%M:%S")"
-OUR_STRING="MacPorts Installer addition on $(date +"%Y-%m-%d at %H:%M:%S"):"
+TIMESTAMP=$(date +"%Y-%m-%d_at_%H:%M:%S")
+BACKUP_SUFFIX=macports-saved_${TIMESTAMP}
+OUR_STRING="MacPorts Installer addition on ${TIMESTAMP}:"
# Command to update the MacPorts installation through "selfupdate":
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080111/ccec76cf/attachment.html
More information about the macports-changes
mailing list