mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
[svn-r27900] Modify bbrelease to use "Revision:" number from svn info, not "Last Changed Rev:" number.
Tested on jam
This commit is contained in:
parent
e188268610
commit
a4e6d0c7e1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user