Parcourir la source

* only use date for snapshot version

peter il y a 24 ans
Parent
commit
cc17b7645a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      install/debian/fixdeb

+ 1 - 1
install/debian/fixdeb

@@ -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