added better testing

Original commit message from CVS:
added better testing
This commit is contained in:
Thomas Vander Stichele 2001-12-10 13:22:58 +00:00
parent ec879bbd38
commit c85396cd9e

View file

@ -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 ..."