]> git.donarmstrong.com Git - spamassassin_config.git/commitdiff
* prefix the old and new revisions with a 0 to avoid errors when the
authorDon Armstrong <don@debian.org>
Thu, 7 Feb 2008 21:19:39 +0000 (21:19 +0000)
committerDon Armstrong <don@debian.org>
Thu, 7 Feb 2008 21:19:39 +0000 (21:19 +0000)
   subversion server cannot be contacted.

git-svn-id: svn+ssh://svn.debian.org/svn/pkg-listmaster/trunk/spamassassin_config@137 0b7a5b0c-1f2c-0410-bd74-c376f8064c91

update_spamassassin

index 0e08376e90baefa06ba4ba87b8a1e70d2d4b0179..ab9bdc5594abfe160f75058a61a5d8bb648a0b85 100755 (executable)
@@ -28,7 +28,7 @@ ORIGREV=$(svn info $SACONFIG |awk '/^Revision:/{print $2}')
 NEWREV=$(svn info $(svn info $SACONFIG|awk '/^URL:/{print $2}')|awk '/^Revision:/{print $2}')
 
 # no changes, bug out.
-if [ "$ORIGREV" -ge "$NEWREV" ]; then
+if [ "0$ORIGREV" -ge "0$NEWREV" ]; then
     exit 0;
 fi;