summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2005-07-15 03:57:00 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2005-07-15 03:57:00 (GMT)
commit0daa76a15095d395a3901ca1b1b38dcbc60ebb23 (patch)
treef947d51e2dce5cc2c2b4d446fbac8a4aaee58812
parentba970a4ac70eed8643dd0bc567513176450c18e3 (diff)
downloadhdf5-0daa76a15095d395a3901ca1b1b38dcbc60ebb23.zip
hdf5-0daa76a15095d395a3901ca1b1b38dcbc60ebb23.tar.gz
hdf5-0daa76a15095d395a3901ca1b1b38dcbc60ebb23.tar.bz2
[svn-r11075] Purpose:
bug fix. Description: The deploy command would exit whether it succeeded or not. Solution: Fixed it so that it exits only when deploy has encountered failures. Platforms tested: Trivial change. Will watch the daily test results. Misc. update:
-rwxr-xr-xbin/snapshot2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/snapshot b/bin/snapshot
index ce06800..07af0b7 100755
--- a/bin/snapshot
+++ b/bin/snapshot
@@ -414,6 +414,8 @@ if [ -n "$DEPLOYDIRNAME" ]; then
if [ "$snapshot" = "yes" ]; then
TIMESTAMP "deploy"
if (cd ${TESTDIR} && ${CURRENT}/bin/deploy ${deploydir}/${DEPLOYDIRNAME}); then
+ : #continue
+ else
errcode=$?
exit $errcode
fi