From c85396cd9e5df4251bfe5415caa3a4dd71a7dfbf Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Mon, 10 Dec 2001 13:22:58 +0000 Subject: [PATCH] added better testing Original commit message from CVS: added better testing --- autogen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autogen.sh b/autogen.sh index d3fa2cc827..938995cf48 100755 --- a/autogen.sh +++ b/autogen.sh @@ -31,8 +31,8 @@ version_check () debug "major $MAJOR minor $MINOR micro $MICRO" VERSION=$MAJOR - if test ! -z $MINOR; then VERSION=$VERSION.$MINOR; else MINOR=0; fi - if test ! -z $MICRO; then VERSION=$VERSION.$MICRO; else MICRO=0; fi + if test ! -z "$MINOR"; then VERSION=$VERSION.$MINOR; else MINOR=0; fi + if test ! -z "$MICRO"; then VERSION=$VERSION.$MICRO; else MICRO=0; fi debug "major $MAJOR minor $MINOR micro $MICRO" echo "Checking for $1 > $VERSION ..."