correct the revision variable used in /etc/version

This commit is contained in:
Ben Gras 2009-05-15 13:02:23 +00:00
parent d749b3b965
commit d0b6e76bfb

View file

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