]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
trunk/nightly/bin/nightly
authorNicholas Nethercote <njn@valgrind.org>
Wed, 7 Jan 2009 04:47:20 +0000 (04:47 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Wed, 7 Jan 2009 04:47:20 +0000 (04:47 +0000)
    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

nightly/bin/nightly

index 10079943623a319096ad4fe0d35be39b969664a0..cc6c49be939864dbe62713dbf13aa76d35582754 100755 (executable)
@@ -26,7 +26,7 @@ runcmd () {
    res=$?
 
    # Write result to the short logfile
-   if [ $res == 0 ]
+   if [ $res = 0 ]
    then
       echo "done"   >> $logfile.short
    else