diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2015-06-25 16:34:26 (GMT) |
---|---|---|
committer | Larry Knox <lrknox@hdfgroup.org> | 2015-06-25 16:34:26 (GMT) |
commit | 0eb409a5235d1f7fea950ca657661600a16f501f (patch) | |
tree | e0edbd1bc1d81a9812657e82ffacf360b4247839 /bin/bbrelease | |
parent | 0b8a403de88be1be600561ea4fcc555a047e221c (diff) | |
download | hdf5-0eb409a5235d1f7fea950ca657661600a16f501f.zip hdf5-0eb409a5235d1f7fea950ca657661600a16f501f.tar.gz hdf5-0eb409a5235d1f7fea950ca657661600a16f501f.tar.bz2 |
[svn-r27282] Change generic directory in tarballs to hdfsrc.
Remove some commented lines.
Diffstat (limited to 'bin/bbrelease')
-rwxr-xr-x | bin/bbrelease | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/bbrelease b/bin/bbrelease index c94d7f2..fea498a 100755 --- a/bin/bbrelease +++ b/bin/bbrelease @@ -268,13 +268,15 @@ if [ X$revmode = Xyes ]; then echo Private release of $VERS bin/h5vers -s $VERS HDF5_VERS=hdf5-$branch-r$revision - HDF5_IN_VERS=hdf5src + # use a generic directory name for revision releases + HDF5_IN_VERS=hdfsrc else # Store hdf5-$VERS ("hdf5-1.7.51", e.g.) to a variable to avoid typos HDF5_VERS=hdf5-$VERS + # directory name matches tar file name for non-revision releases + HDF5_IN_VERS=$HDF5_VERS fi - test "$verbose" && echo "Releasing $HDF5_VERS to $DEST" 1>&2 if [ ! -d $DEST ]; then echo " Destination directory $DEST does not exist" 1>&2 @@ -324,7 +326,6 @@ test "$verbose" && echo " Running tar..." 1>&2 tar cf $HDF5_VERS.tar $HDF5_IN_VERS/Makefile \ `sed 's/^\.\//'$HDF5_IN_VERS'\//' $MANIFEST` || exit 1 \ ) -# `sed 's/^\.\//hdf5-'$VERS'\//' $MANIFEST` || exit 1 \ # Compress MD5file=$HDF5_VERS.md5 @@ -347,7 +348,6 @@ for comp in $methods; do ;; zip) test "$verbose" && echo " Creating zip ball..." 1>&2 -# tar2zip $HDF5_VERS $tmpdir/$HDF5_VERS.tar $DEST/$HDF5_VERS.zip 1>&2 tar2zip $HDF5_IN_VERS $tmpdir/$HDF5_VERS.tar $DEST/$HDF5_VERS.zip 1>&2 (cd $DEST; md5sum $HDF5_VERS.zip >> $MD5file) ;; |