You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2011/05/12 14:39:53 UTC

svn commit: r1102264 - /subversion/trunk/tools/dev/benchmarks/suite1/cronjob

Author: danielsh
Date: Thu May 12 12:39:53 2011
New Revision: 1102264

URL: http://svn.apache.org/viewvc?rev=1102264&view=rev
Log:
Use the numeric comparison operator.

* tools/dev/benchmarks/suite1/cronjob

Modified:
    subversion/trunk/tools/dev/benchmarks/suite1/cronjob

Modified: subversion/trunk/tools/dev/benchmarks/suite1/cronjob
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/dev/benchmarks/suite1/cronjob?rev=1102264&r1=1102263&r2=1102264&view=diff
==============================================================================
--- subversion/trunk/tools/dev/benchmarks/suite1/cronjob (original)
+++ subversion/trunk/tools/dev/benchmarks/suite1/cronjob Thu May 12 12:39:53 2011
@@ -26,7 +26,7 @@ results="$(tempfile)"
 cd /home/neels/pat/trunk
 /home/neels/bin/pat update
 
-if [ "$?" != "0" ]; then
+if [ "$?" -ne "0" ]; then
   subject="Failed to update to HEAD."
   echo "$subject" > "$results"
   echo "$subject"