From 0d5399fc9888da5793d2c4a135f8bc346fb19986 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Wed, 22 Sep 1999 00:47:46 -0500 Subject: [svn-r1643] Tweaks to run on baldric better. --- bin/snapshot | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/bin/snapshot b/bin/snapshot index 1e86aff..477299d 100755 --- a/bin/snapshot +++ b/bin/snapshot @@ -117,6 +117,7 @@ snapshot=yes # set # exit 0 +COMPARE=${HOME}/hdf5-snapshots #============================= # Run CVS checkout @@ -125,7 +126,6 @@ if [ "$cmd" = "all" -o -n "$cmdcheckout" ]; then # 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. - COMPARE=${HOME}/hdf5-snapshots test -d ${COMPARE} || mkdir -p ${COMPARE} || exit 1 # Check out the current version from CVS @@ -176,10 +176,14 @@ if [ "$cmd" = "all" -o -n "$cmdrel" ]; then # cvs commit if errors encounter here. set -e cd ${COMPARE}/current - cvs -Q tag hdf5-`perl -w bin/h5vers |tr . _` +# "perl -w ..." doesn't appear to be working on baldric.. +# cvs -Q tag hdf5-`perl -w bin/h5vers |tr . _` + cvs -Q tag hdf5-`perl bin/h5vers |tr . _` bin/release -d $ARCHIVES $METHODS - RELEASE_VERSION="`perl -w bin/h5vers -v`" - perl -w bin/h5vers -i +# RELEASE_VERSION="`perl -w bin/h5vers -v`" + RELEASE_VERSION="`perl bin/h5vers -v`" +# perl -w bin/h5vers -i + perl bin/h5vers -i cvs -Q commit -m "Snapshot $RELEASE_VERSION" ) fi -- cgit v0.12