summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/snapshot7
1 files changed, 2 insertions, 5 deletions
diff --git a/bin/snapshot b/bin/snapshot
index e7c5c85..9a40f6f 100755
--- a/bin/snapshot
+++ b/bin/snapshot
@@ -48,13 +48,10 @@ if [ -d ${COMPARE}/previous ]; then
if (diff -c ${COMPARE}/previous/MANIFEST ${COMPARE}/current/MANIFEST); then
snapshot=no
for src in `grep '^\.' ${COMPARE}/current/MANIFEST|expand|cut -f1 -d' '`; do
- if (diff -I H5_VERS_RELEASE -I " released on " \
- ${COMPARE}/previous/$src ${COMPARE}/current/$src); then
- else
+ diff -I H5_VERS_RELEASE -I " released on " \
+ ${COMPARE}/previous/$src ${COMPARE}/current/$src || \
snapshot=yes
# Don't break because we want to see all the diffs.
- #break
- fi
done
fi
fi