summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHDF Admin <hdfadmin@ncsa.uiuc.edu>2003-11-20 04:43:11 (GMT)
committerHDF Admin <hdfadmin@ncsa.uiuc.edu>2003-11-20 04:43:11 (GMT)
commit203725dfc3a24449277fad4a2fe84c640cb2ade1 (patch)
tree638ce054111d0a468eea55d00746bb55fbaec0fd
parentd01db8617489daf208f8a788184263fe65ec1ec3 (diff)
downloadhdf5-203725dfc3a24449277fad4a2fe84c640cb2ade1.zip
hdf5-203725dfc3a24449277fad4a2fe84c640cb2ade1.tar.gz
hdf5-203725dfc3a24449277fad4a2fe84c640cb2ade1.tar.bz2
[svn-r7858] Purpose:
Improvement Description: The cvs checkout used the complete path of current/ which is not accepted by cvs server. Changed it to chdir to the snapshot directory and then cvs checkout just current/. Platforms tested: Not h5committested because it does not test this command. Tested in tg-ncsa which has no direct access to the CVS directory and must use the server route. Misc. update:
-rwxr-xr-xbin/snapshot2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/snapshot b/bin/snapshot
index b9ee743..897ccc9 100755
--- a/bin/snapshot
+++ b/bin/snapshot
@@ -259,7 +259,7 @@ if [ "$cmd" = "all" -o -n "$cmdcheckout" ]; then
exit 1
fi
# Check out the current version from CVS
- cvs -Q co -d ${CURRENT} ${CVSVERSION} hdf5 || exit 1
+ (cd $BASEDIR; cvs -Q co -d current ${CVSVERSION} hdf5 ) || exit 1
fi # Do CVS checkout