summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2009-10-01 03:44:43 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2009-10-01 03:44:43 (GMT)
commitcf212aebf8eca7b58dcb5057bd6d9cdf842afb70 (patch)
treeaba7df7337de59f87e73637a4ad50a72672d42eb /bin
parentee383d182f9aaa8076c26a75dd3f89d346eb7979 (diff)
downloadhdf5-cf212aebf8eca7b58dcb5057bd6d9cdf842afb70.zip
hdf5-cf212aebf8eca7b58dcb5057bd6d9cdf842afb70.tar.gz
hdf5-cf212aebf8eca7b58dcb5057bd6d9cdf842afb70.tar.bz2
[svn-r17562] Fixed a syntax error that generates a file named 0.
Tested: Jam as it is simple shell script change.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/chkmanifest4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/chkmanifest b/bin/chkmanifest
index f239995..70c38a9 100755
--- a/bin/chkmanifest
+++ b/bin/chkmanifest
@@ -171,8 +171,8 @@ EOF
exit 1
fi
-if [ $errcode > '0' >/dev/null ]; then
- exit $errcode
+if [ $errcode -ne 0 ]; then
+ exit 1
fi
test "$verbose" && echo " The MANIFEST is up to date." 1>&2