]> granicus.if.org Git - docbook-dsssl/commitdiff
Changed handler for budiling version number of snapshots to remove
authorMichael Smith <xmldoc@users.sourceforge.net>
Sat, 25 Mar 2006 23:04:22 +0000 (23:04 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Sat, 25 Mar 2006 23:04:22 +0000 (23:04 +0000)
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.

releasetools/docbook-build

index c40332c21209fc55a4636746d3112e2b3042d3af..436b2aabc930ffdb2975f8ff2d22d1e85d3592e4 100755 (executable)
@@ -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:]"`