summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorlrknox <lrknox>2016-09-06 18:14:45 (GMT)
committerlrknox <lrknox>2016-09-06 18:14:45 (GMT)
commit03169f5b19e64ab568e13bc883ef5047542b632e (patch)
treedd6e29f7bef36d0b803a02c4f8ff4106e205f72b /bin
parentd9489260e4ced819d727dd144099a57ba2b78894 (diff)
downloadhdf5-03169f5b19e64ab568e13bc883ef5047542b632e.zip
hdf5-03169f5b19e64ab568e13bc883ef5047542b632e.tar.gz
hdf5-03169f5b19e64ab568e13bc883ef5047542b632e.tar.bz2
Restrict git commit hash in tar file names to first 7 characters with
--short option.
Diffstat (limited to 'bin')
-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