summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2016-09-06 19:05:33 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2016-09-06 19:05:33 (GMT)
commite2f7b36b36dc46e3657c0e922752f04d5300b45e (patch)
tree1a5de7632ef048da0360769420df66b812c9fb62
parent2c6720aacbf96c9ccae7cc3c3f89e88c55871966 (diff)
parent03169f5b19e64ab568e13bc883ef5047542b632e (diff)
downloadhdf5-e2f7b36b36dc46e3657c0e922752f04d5300b45e.zip
hdf5-e2f7b36b36dc46e3657c0e922752f04d5300b45e.tar.gz
hdf5-e2f7b36b36dc46e3657c0e922752f04d5300b45e.tar.bz2
Merge pull request #18 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit '03169f5b19e64ab568e13bc883ef5047542b632e': Restrict git commit hash in tar file names to first 7 characters with --short option.
-rwxr-xr-xbin/bbrelease2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bbrelease b/bin/bbrelease
index 79fe08f..c5d562e 100755
--- a/bin/bbrelease
+++ b/bin/bbrelease
@@ -279,7 +279,7 @@ if [ X$revmode = Xyes ]; then
# "undo" changes to it.
cp config/lt_vers.am $tmpdir
branch=`git branch | grep '*' | awk '{print $NF}'`
- revision=`git rev-parse HEAD`
+ revision=`git rev-parse --short HEAD`
# 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/-.*//`-$revision