From: Michael Smith Date: Sat, 25 Mar 2006 23:04:22 +0000 (+0000) Subject: Changed handler for budiling version number of snapshots to remove X-Git-Tag: release/1.79.1~6^2~2961 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65e236ff8e4f7de938ef7bae6c6616f0fd0bc35e;p=docbook-dsssl Changed handler for budiling version number of snapshots to remove colon in time part. For example, 2006-03-25_0921_snapshot instead of 2006-03-25_09:21_snapshot -- the reason being that the colon wreaks havoc with make(1) because it is used in a filename (RELEASE-NOTES-2006-03-25_09:21_snapshot.xml) that is also a target name. --- diff --git a/releasetools/docbook-build b/releasetools/docbook-build index c40332c21..436b2aabc 100755 --- a/releasetools/docbook-build +++ b/releasetools/docbook-build @@ -181,7 +181,7 @@ else rm -f $LOGDIR/docbook-$DISTRO-$RELEASEVERSION.log.tmp DATE=`date +%Y-%m-%d` - TIME=`date '+%H:%M'` + TIME=`date '+%H%M'` ZONE=`date '+%Z'` UPPER_DISTRO=`echo $DISTRO | tr "[:lower:]" "[:upper:]"`