Make version checking work, as pointed out by Michael H Schimek in bug
authorMalcolm Tredinnick <malcolm@src.gnome.org>
Sat, 1 Nov 2003 01:18:16 +0000 (01:18 +0000)
committerMalcolm Tredinnick <malcolm@src.gnome.org>
Sat, 1 Nov 2003 01:18:16 +0000 (01:18 +0000)
* autogen.sh: Make version checking work, as pointed out by
Michael H Schimek in bug #125818.

svn path=/trunk/; revision=3068

macros2/ChangeLog
macros2/autogen.sh

index 111c159..fa54f3a 100644 (file)
@@ -1,3 +1,8 @@
+2003-11-01  Malcolm Tredinnick <malcolm@commsecure.com.au>
+
+       * autogen.sh: Make version checking work, as pointed out by
+       Michael H Schimek in bug #125818.
+
 2003-10-31    <clahey@ximian.com>
 
        * gnome-common.m4: Changed name of new macro to
index 58299e3..b8f9956 100644 (file)
@@ -59,7 +59,7 @@ compare_versions() {
     ch_status=0
     IFS="${IFS=         }"; ch_save_IFS="$IFS"; IFS="."
     set $ch_actual_version
-    for min in $ch_min_version; do
+    for ch_min in $ch_min_version; do
         ch_cur=`echo $1 | sed 's/[^0-9].*$//'`; shift # remove letter suffixes
         if [ -z "$ch_min" ]; then break; fi
         if [ -z "$ch_cur" ]; then ch_status=1; break; fi