* only use date for snapshot version

This commit is contained in:
peter 2001-07-29 20:25:47 +00:00
parent eb32168592
commit 80a3e2d02f

View File

@ -16,7 +16,7 @@ DEBVERSION=`echo $PACKAGEVERSION | awk -F '-' '{ print $2 }'`
# Snapshot ?
if [ "$DEBVERSION" == "0" ]; then
OLDPACKAGEVERSION=$PACKAGEVERSION
DEBVERSION=`/bin/date --utc +%Y%m%d.%k%M%S`
DEBVERSION=`/bin/date --utc +%Y%m%d`
PACKAGEVERSION=$FPCVERSION-$DEBVERSION
sed s+$OLDPACKAGEVERSION+$PACKAGEVERSION+ $1/changelog > $1/changelog.tmp
mv $1/changelog.tmp $1/changelog