diff options
author | Robb Matzke <matzke@llnl.gov> | 1999-06-02 13:59:35 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1999-06-02 13:59:35 (GMT) |
commit | e352d29757c1600e8d7c9ab7c42588b0873682a2 (patch) | |
tree | c4c5d53901b06c3ad42ff59454b15ff866b48633 /bin/release | |
parent | 5992a71fe026ab86845e2f7c662a52fb53e4b0ca (diff) | |
download | hdf5-e352d29757c1600e8d7c9ab7c42588b0873682a2.zip hdf5-e352d29757c1600e8d7c9ab7c42588b0873682a2.tar.gz hdf5-e352d29757c1600e8d7c9ab7c42588b0873682a2.tar.bz2 |
[svn-r1292] Changes since 19990430
----------------------
Remove changes from CVS
./bin/release
Added a `--nocheck' switch which causes the script to not
check the contents of the MANIFEST file against CVS. This is
sometimes useful when you need to make a quick snapshot but
the MANIFEST file is not quite up to date.
./src/H5D.c
Removed warnings for unused variables
./src/H5Fprivate.h
Removed the WIN32 definition for `uint' and changed the data
type for `eof_written' from `uint' to `uintn'. Shouldn't this
really be `hbool_t'?
./src/H5Odtype.c
./src/H5T.c
./src/H5Tconv.c
./src/H5Tpkg.h
./src/H5Tpublic.h
./test/dtypes.c
./doc/html/H5.format.html
Added support for bitfields and opaque data types.
Diffstat (limited to 'bin/release')
-rwxr-xr-x | bin/release | 37 |
1 files changed, 31 insertions, 6 deletions
diff --git a/bin/release b/bin/release index 5ab6e79..96addbd 100755 --- a/bin/release +++ b/bin/release @@ -4,6 +4,8 @@ # # -d DIR The name of the directory where the releas(es) should be # placed. By default, the directory is ./releases +# +# --nocheck Ignore errors in MANIFEST file. # # The other command-line options are the names of the programs to use # for compressing the resulting tar archive (if none are given then @@ -34,17 +36,36 @@ DEST=releases VERS=`perl bin/h5vers` test "$VERS" || exit 1 verbose=yes +check=yes # Command-line arguments -if [ "X$1" = "X-d" ]; then - DEST="$2" - shift +while [ -n "$1" ]; do + arg=$1 shift -fi -methods="$*" + case "$arg" in + -d) + DEST=$1 + shift + ;; + --nocheck) + check=no + ;; + -*) + echo "Unknown switch: $arg" 1>&2 + exit 1 + ;; + *) + methods="$methods $arg" + ;; + esac +done + +# Default method is tar if [ "X$methods" = "X" ]; then methods=tar fi + + test "$verbose" && echo "Releasing hdf5-$VERS to $DEST" 1>&2 if [ ! -d $DEST ]; then echo " Destination directory $DEST does not exist" 1>&2 @@ -94,7 +115,11 @@ The MANIFEST is out of date. Files marked with a minus sign (-) no longer exist; files marked with a plus sign (+) are CVS-managed but do not appear in the MANIFEST. Please remedy the situation and try again. EOF - exit 1 + if [ $check = yes ]; then + exit 1 + else + echo "Continuing anyway..." + fi fi # Create a manifest that contains only files for distribution. |