diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2015-06-25 16:39:19 (GMT) |
---|---|---|
committer | Larry Knox <lrknox@hdfgroup.org> | 2015-06-25 16:39:19 (GMT) |
commit | df8bd7ccd6cd8d50280a3a7d862064c6340e2169 (patch) | |
tree | c3cd80b84b6ab19a14e4cf0d3de5346f8946eb45 /bin/bbrelease | |
parent | 5dac57c5c4524e5410960cc835610eb40a401830 (diff) | |
download | hdf5-df8bd7ccd6cd8d50280a3a7d862064c6340e2169.zip hdf5-df8bd7ccd6cd8d50280a3a7d862064c6340e2169.tar.gz hdf5-df8bd7ccd6cd8d50280a3a7d862064c6340e2169.tar.bz2 |
[svn-r27283] 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) ;; |