]> Zhao Yanbai Git Server - minix.git/commitdiff
correct the revision variable used in /etc/version
authorBen Gras <ben@minix3.org>
Fri, 15 May 2009 13:02:23 +0000 (13:02 +0000)
committerBen Gras <ben@minix3.org>
Fri, 15 May 2009 13:02:23 +0000 (13:02 +0000)
tools/release.sh

index c341c6637104ab83b6c8de1c44e891ebc1550e8e..8974521480fead20da0b49e133705e8aa726b198 100755 (executable)
@@ -249,6 +249,7 @@ else
        srcdir=/usr/$SRC
        ( cd $srcdir && tar cf - . ) | ( cd $RELEASEDIR/usr && mkdir $SRC && cd $SRC && tar xf - )
        REVTAG=copy
+       REVISION=unknown
 fi
 
 if [ "$USB" -ne 0 ]; then
@@ -291,7 +292,7 @@ then
        hdemu_root_changes
 fi
 
-echo $version_pretty, SVN revision $SVNREV, generated `date` >$RELEASEDIR/etc/version
+echo $version_pretty, SVN revision $REVISION, generated `date` >$RELEASEDIR/etc/version
 echo " * Counting files"
 extrakb=`du -s $RELEASEDIR/usr/install | awk '{ print $1 }'`
 expr `df $TMPDISK1 | tail -1 | awk '{ print $4 }'` - $extrakb >$RELEASEDIR/.usrkb