From cf212aebf8eca7b58dcb5057bd6d9cdf842afb70 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Wed, 30 Sep 2009 22:44:43 -0500 Subject: [svn-r17562] Fixed a syntax error that generates a file named 0. Tested: Jam as it is simple shell script change. --- bin/chkmanifest | 4 ++-- 1 file 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 -- cgit v0.12