|
From: <sv...@va...> - 2009-01-07 04:47:25
|
Author: njn
Date: 2009-01-07 04:47:20 +0000 (Wed, 07 Jan 2009)
New Revision: 8914
Log:
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.
Modified:
trunk/nightly/bin/nightly
Modified: trunk/nightly/bin/nightly
===================================================================
--- trunk/nightly/bin/nightly 2009-01-07 04:14:42 UTC (rev 8913)
+++ trunk/nightly/bin/nightly 2009-01-07 04:47:20 UTC (rev 8914)
@@ -26,7 +26,7 @@
res=$?
# Write result to the short logfile
- if [ $res == 0 ]
+ if [ $res = 0 ]
then
echo "done" >> $logfile.short
else
|