summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
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