summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1999-09-22 05:47:46 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1999-09-22 05:47:46 (GMT)
commit0d5399fc9888da5793d2c4a135f8bc346fb19986 (patch)
tree75388df5827e1135c8fd6d80923c8e31eafdb6e6
parent1c273a615d1327af0d3537d6000e8062a960db9c (diff)
downloadhdf5-0d5399fc9888da5793d2c4a135f8bc346fb19986.zip
hdf5-0d5399fc9888da5793d2c4a135f8bc346fb19986.tar.gz
hdf5-0d5399fc9888da5793d2c4a135f8bc346fb19986.tar.bz2
[svn-r1643] Tweaks to run on baldric better.
-rwxr-xr-xbin/snapshot12
1 files 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