diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2014-04-25 23:24:34 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2014-04-25 23:24:34 (GMT) |
commit | 612588af1700bc2b84b65a47458091ee3bead1cf (patch) | |
tree | fb04adc1ecbe1cce25ec2a9cd99508becf9bf19c /bin | |
parent | 7a6684381007ace0d9be3700f4fb519bfc7379af (diff) | |
download | hdf5-612588af1700bc2b84b65a47458091ee3bead1cf.zip hdf5-612588af1700bc2b84b65a47458091ee3bead1cf.tar.gz hdf5-612588af1700bc2b84b65a47458091ee3bead1cf.tar.bz2 |
[svn-r25121] HDFFV-8755: Remove compress option from bin/release
Tested: by hand. "bin/release ... compress" to see it failed and to see it succeeded when compress is not used.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/release | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/bin/release b/bin/release index afc27cf..06fbc68 100755 --- a/bin/release +++ b/bin/release @@ -57,7 +57,6 @@ for compressing the resulting tar archive (if none are given then "tar md5" is assumed): tar -- use tar and don't do any compressing. - compress -- use compress and append ".Z" to the output name. gzip -- use gzip with "-9" and append ".gz" to the output name. bzip2 -- use bzip2 with "-9" and append ".bz2" to the output name. zip -- convert all text files to DOS style and form a zip file for Windows use. @@ -73,7 +72,7 @@ Examples: $ release gzip releases/hdf5-1.0.38.tar.gz - $ release -d /tmp tar compress gzip bzip2 md5 + $ release -d /tmp tar gzip zip md5 /tmp/hdf5-1.0.38.tar /tmp/hdf5-1.0.38.tar.Z /tmp/hdf5-1.0.38.tar.gz @@ -306,10 +305,6 @@ for comp in $methods; do tar) cp -p $tmpdir/$HDF5_VERS.tar $DEST/$HDF5_VERS.tar ;; - compress) - test "$verbose" && echo " Running compress..." 1>&2 - compress -c <$tmpdir/$HDF5_VERS.tar >$DEST/$HDF5_VERS.tar.Z - ;; gzip) test "$verbose" && echo " Running gzip..." 1>&2 gzip -9 <$tmpdir/$HDF5_VERS.tar >$DEST/$HDF5_VERS.tar.gz @@ -343,6 +338,10 @@ for comp in $methods; do (cd $tmpdir && tar cf ${HDF5_VERS}_docs.tar ${HDF5_VERS}_docs) mv $tmpdir/${HDF5_VERS}_docs.tar $DEST ;; + *) + echo "***Error*** Unknown method $comp" + exit 1 + ;; esac done |