summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authordarrenm <none@none>2006-03-07 08:13:51 -0800
committerdarrenm <none@none>2006-03-07 08:13:51 -0800
commit1c79753f47685e29fef8e9241538c7d39aa234c9 (patch)
treefeae436bd461d4a1a7ca7eb860befe4d7a689ca0 /usr/src
parent048a0084994d5a1385294890384daffc50dd675c (diff)
downloadillumos-gate-1c79753f47685e29fef8e9241538c7d39aa234c9.tar.gz
6371803 nightly should use ISO standard dates - it sorts better
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/tools/scripts/nightly.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr/src/tools/scripts/nightly.sh b/usr/src/tools/scripts/nightly.sh
index 23596160ad..cd1f552ca6 100644
--- a/usr/src/tools/scripts/nightly.sh
+++ b/usr/src/tools/scripts/nightly.sh
@@ -20,7 +20,7 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -861,7 +861,7 @@ NIGHTLY_OPTIONS variable in the <env_file> as follows:
# -x less public handling of xmod source for the source product
#
# A log file will be generated under the name $LOGFILE
-# for partially completed build and log.`date '+%m%d%y'`
+# for partially completed build and log.`date '+%F'`
# in the same directory for fully completed builds.
#
@@ -1406,8 +1406,9 @@ fi
#
logshuffle() {
- LLOG="$ATLOG/log.`date '+%m%d'`"
+ LLOG="$ATLOG/log.`date '+%F'`"
rm -rf $ATLOG/log.??`date '+%d'`
+ rm -rf $ATLOG/log.????-??-`date '+%d'`
if [ -f $LLOG -o -d $LLOG ]; then
LLOG=$LLOG.$$
fi