[svn-r27900] Modify bbrelease to use "Revision:" number from svn info, not "Last Changed Rev:" number.

Tested on jam
This commit is contained in:
Larry Knox 2015-09-28 13:32:42 -05:00
parent e188268610
commit a4e6d0c7e1

View File

@ -269,7 +269,7 @@ if [ X$revmode = Xyes ]; then
# "undo" changes to it.
cp config/lt_vers.am $tmpdir
branch=`svn info | grep ^URL: | awk -F/ '{print $NF}'`
revision=`svn info | grep "Last Changed Rev:" | awk '{print $4}'`
revision=`svn info | grep "Revision:" | awk '{print $2}'`
# Set version information to m.n.r-r$revision.
# (h5vers does not correctly handle just m.n.r-$today.)
VERS=`echo $VERS | sed -e s/-.*//`-r$revision