From 61e045dbf99fefe5f0df962774a095e685a41994 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Thu, 7 Feb 2008 21:19:39 +0000 Subject: [PATCH] * prefix the old and new revisions with a 0 to avoid errors when the 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update_spamassassin b/update_spamassassin index 0e08376..ab9bdc5 100755 --- a/update_spamassassin +++ b/update_spamassassin @@ -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; -- 2.39.2