summaryrefslogtreecommitdiff
path: root/nightly
diff options
context:
space:
mode:
authornjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2009-01-07 04:47:20 +0000
committernjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2009-01-07 04:47:20 +0000
commit62647ebbda15289efd145d6ada826242281551c7 (patch)
tree18e7a21bc56ecf4be1a1a276c0cf8de7fdcec670 /nightly
parent5a1ba0202dd941efbd30678f5bf2318550a16b1d (diff)
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 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'nightly')
-rwxr-xr-xnightly/bin/nightly2
1 files changed, 1 insertions, 1 deletions
diff --git a/nightly/bin/nightly b/nightly/bin/nightly
index 10079943..cc6c49be 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