summaryrefslogtreecommitdiffstats
path: root/bin/snapshot
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-07-30 20:24:10 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-07-30 20:24:10 (GMT)
commitb4f144907e07bc3a660cadc532b28d7c197197b5 (patch)
treee9ac201565a1898e0c102b417ae41c69e4f183fa /bin/snapshot
parentdde81bb76bf168a082e3379dc68cf4ed55079ba1 (diff)
downloadhdf5-b4f144907e07bc3a660cadc532b28d7c197197b5.zip
hdf5-b4f144907e07bc3a660cadc532b28d7c197197b5.tar.gz
hdf5-b4f144907e07bc3a660cadc532b28d7c197197b5.tar.bz2
[svn-r553] *** empty log message ***
Diffstat (limited to 'bin/snapshot')
-rwxr-xr-xbin/snapshot7
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/snapshot b/bin/snapshot
index 24776db..31b28f3 100755
--- a/bin/snapshot
+++ b/bin/snapshot
@@ -15,6 +15,9 @@ if [ "$1" ]; then
shift
fi
+# What compression methods to use?
+METHODS="gzip bzip2"
+
# Create a working directory. Hopefully one is left over from last
# time that still has the contents of the previous release. But if
# not, just create one and assume that a snapshot is necessary.
@@ -30,7 +33,7 @@ cvs -Q co -d ${COMPARE}/current hdf5 || exit 1
# Compare it with the previous version.
if [ -d ${COMPARE}/previous ]; then
- if (diff -r -I H5_VERS_RELEASE -I " release on " \
+ if (diff -r -I H5_VERS_RELEASE -I " released on " \
${COMPARE}/previous ${COMPARE}/current >/dev/null); then
update=yes
else
@@ -43,7 +46,7 @@ fi
# Release snapshot, update version, and commit to cvs
if [ "$update" = "yes" ]; then
(cd ${COMPARE}/current; \
- ./bin/release -d $ARCHIVES tar compress gzip bzip2; \
+ ./bin/release -d $ARCHIVES $METHODS; \
./bin/h5vers -i; \
cvs -Q commit -m Snapshot )
fi