From a4e6d0c7e199558b3c9f839a4ccb8071e48c7495 Mon Sep 17 00:00:00 2001 From: Larry Knox Date: Mon, 28 Sep 2015 13:32:42 -0500 Subject: [svn-r27900] Modify bbrelease to use "Revision:" number from svn info, not "Last Changed Rev:" number. Tested on jam --- bin/bbrelease | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/bbrelease b/bin/bbrelease index 1f6e479..119dc7a 100755 --- a/bin/bbrelease +++ b/bin/bbrelease @@ -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 -- cgit v0.12