From 4df339a5c8ba282fd5f053c3c44adedb1ed00cab Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Mon, 10 Dec 2001 13:36:11 +0000 Subject: [PATCH] this makes somewhat more sense Original commit message from CVS: this makes somewhat more sense --- autogen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autogen.sh b/autogen.sh index 336e46d..6b31fa2 100755 --- a/autogen.sh +++ b/autogen.sh @@ -58,11 +58,11 @@ version_check () #start checking the version debug "version check" - if [ "$pkg_major" \< "$MAJOR -o "$pkg_major" = $MAJOR" ]; then + if [ ! "$pkg_major" \> "$MAJOR" ]; then debug "$pkg_major <= $MAJOR" if [ "$pkg_major" \< "$MAJOR" ]; then WRONG=1 - elif [ "$pkg_minor" \< "$MINOR -o $pkg_minor = $MINOR" ]; then + elif [ ! "$pkg_minor" \> "$MINOR" ]; then if [ "$pkg_minor" \< "$MINOR" ]; then WRONG=1 elif [ "$pkg_micro" \< "$MICRO" ]; then -- 2.7.4