[svn-r1358] Update the ftp site to the AFS area.

Added in the exit-on-error mode to abort cvs commit if errors encountered.
This commit is contained in:
Albert Cheng 1999-06-16 19:33:00 -05:00
parent a7042d4493
commit 45d2895bfa

View File

@ -14,7 +14,7 @@ date
PATH="/usr/local/bin:$PATH"
# Where are the snapshots stored?
ARCHIVES=/hdf3/ftp/pub/outgoing/hdf5/snapshots
ARCHIVES=/afs/ncsa/ftp/HDF/pub/outgoing/hdf5/snapshots
if [ "$1" ]; then
ARCHIVES="$1"
shift
@ -68,8 +68,11 @@ if [ "$snapshot" = "yes" ]; then
fi
# Release snapshot, update version, and commit to cvs and tag
# Turn on exit on error in the sub-shell so that it does not
# cvs commit if errors encounter here.
if [ "$snapshot" = "yes" ]; then
(
set -e
cd ${COMPARE}/current
cvs -Q tag hdf5-`perl -w bin/h5vers |tr . _`
bin/release -d $ARCHIVES $METHODS