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 srcdir=/usr/$SRC
( cd $srcdir && tar cf - . ) | ( cd $RELEASEDIR/usr && mkdir $SRC && cd $SRC && tar xf - ) ( cd $srcdir && tar cf - . ) | ( cd $RELEASEDIR/usr && mkdir $SRC && cd $SRC && tar xf - )
REVTAG=copy REVTAG=copy
REVISION=unknown
fi fi
if [ "$USB" -ne 0 ]; then if [ "$USB" -ne 0 ]; then
@ -291,7 +292,7 @@ then
hdemu_root_changes hdemu_root_changes
fi 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" echo " * Counting files"
extrakb=`du -s $RELEASEDIR/usr/install | awk '{ print $1 }'` extrakb=`du -s $RELEASEDIR/usr/install | awk '{ print $1 }'`
expr `df $TMPDISK1 | tail -1 | awk '{ print $4 }'` - $extrakb >$RELEASEDIR/.usrkb expr `df $TMPDISK1 | tail -1 | awk '{ print $4 }'` - $extrakb >$RELEASEDIR/.usrkb