summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2015-09-28 18:32:42 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2015-09-28 18:32:42 (GMT)
commita4e6d0c7e199558b3c9f839a4ccb8071e48c7495 (patch)
tree02ae1eb9d199422d28cfc52d1bf841326cf25ad8
parente1882686106eca76e5c37ee721afb5606077c844 (diff)
downloadhdf5-a4e6d0c7e199558b3c9f839a4ccb8071e48c7495.zip
hdf5-a4e6d0c7e199558b3c9f839a4ccb8071e48c7495.tar.gz
hdf5-a4e6d0c7e199558b3c9f839a4ccb8071e48c7495.tar.bz2
[svn-r27900] Modify bbrelease to use "Revision:" number from svn info, not "Last Changed Rev:" number.
Tested on jam
-rwxr-xr-xbin/bbrelease2
1 files changed, 1 insertions, 1 deletions
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