From d495a52fdd306391bd01f2a22abda26666c6c705 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Wed, 30 Sep 2009 22:46:05 -0500 Subject: [svn-r17564] 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 4f70a6d..70c38a9 100755 --- a/bin/chkmanifest +++ b/bin/chkmanifest @@ -171,8 +171,8 @@ EOF exit 1 fi -if [ $errcode > 0 ]; 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