summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2005-08-29 15:01:20 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2005-08-29 15:01:20 (GMT)
commit636b5829a9c5c8908f4eefa71f7b653f4f1697ea (patch)
treea281879c225f224132b2166b8e6b2cbabf8579ab /bin
parente1747e456cf5605faeaab199cfbb3e72dca6cd40 (diff)
downloadhdf5-636b5829a9c5c8908f4eefa71f7b653f4f1697ea.zip
hdf5-636b5829a9c5c8908f4eefa71f7b653f4f1697ea.tar.gz
hdf5-636b5829a9c5c8908f4eefa71f7b653f4f1697ea.tar.bz2
[svn-r11309] Purpose:
Bug fix. Description: Error encountered in the clean command was not passed back to calling command. Fixed it. Platforms tested: heping (where clean has no error) and sol (where clean has error).
Diffstat (limited to 'bin')
-rwxr-xr-xbin/snapshot6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/snapshot b/bin/snapshot
index 5cea08d..78c66ab 100755
--- a/bin/snapshot
+++ b/bin/snapshot
@@ -469,9 +469,9 @@ if [ -n "$cmdclean" ]; then
esac
TESTDIR=${BASEDIR}/TestDir/${SRCDIRNAME}
fi
- # Make sure current version exists and is clean
- if [ -d ${TESTDIR} ]; then
- (cd ${TESTDIR} && ${MAKE} $cmdclean )
+ # clean it
+ if (cd ${TESTDIR} && ${MAKE} $cmdclean ) then
+ :
else
errcode=$?
snapshot=no