From: Nicholas Nethercote Date: Wed, 7 Jan 2009 04:47:20 +0000 (+0000) Subject: trunk/nightly/bin/nightly X-Git-Tag: svn/VALGRIND_3_5_0~1118 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9ad4964c5be5bbcb4d6de3566803847b06d8c573;p=thirdparty%2Fvalgrind.git trunk/nightly/bin/nightly Use '=' instead of '==', which is a bash-ism that doesn't work on Debian/Ubuntu systems that have dash installed as /bin/sh. It only mildly affected the script's running -- it made it say that certain stages failed when really they didn't. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8914 --- diff --git a/nightly/bin/nightly b/nightly/bin/nightly index 1007994362..cc6c49be93 100755 --- a/nightly/bin/nightly +++ b/nightly/bin/nightly @@ -26,7 +26,7 @@ runcmd () { res=$? # Write result to the short logfile - if [ $res == 0 ] + if [ $res = 0 ] then echo "done" >> $logfile.short else