summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorlrknox <lrknox>2016-09-06 18:25:01 (GMT)
committerlrknox <lrknox>2016-09-06 18:25:01 (GMT)
commit77b8f7f426abb3be82f18df63eda38a9bf6caa81 (patch)
treebb55001a5b7bd0c28d4a87f76d3164a9b19991e6 /bin
parent156d6de33bc7d63483c80acfe005aa874597e2b2 (diff)
downloadhdf5-77b8f7f426abb3be82f18df63eda38a9bf6caa81.zip
hdf5-77b8f7f426abb3be82f18df63eda38a9bf6caa81.tar.gz
hdf5-77b8f7f426abb3be82f18df63eda38a9bf6caa81.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 aa0ce33..389b193 100755
--- a/bin/bbrelease
+++ b/bin/bbrelease
@@ -271,7 +271,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