From f4ea08286cf514a86f643a2fdb1c315fa6454468 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 8 Jul 2005 19:23:27 +0000 Subject: Try to fix Oleg's automake problem. More doc fixes. --- autogen.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index 3e6ee86c..4505f540 100755 --- a/autogen.sh +++ b/autogen.sh @@ -19,15 +19,15 @@ AM_V1=`echo $AM_VERSION | awk '{print $1}'` AM_V2=`echo $AM_VERSION | awk '{print $2}'` AM_V3=`echo $AM_VERSION | awk '{print $3}'` -if [ $AM_1 -gt $AM_V1 ]; then +if [ "$AM_1" -gt "$AM_V1" ]; then AM_ERROR=1 else - if [ $AM_1 -eq $AM_V1 ]; then - if [ $AM_2 -gt $AM_V2 ]; then + if [ "$AM_1" -eq "$AM_V1" ]; then + if [ "$AM_2" -gt "$AM_V2" ]; then AM_ERROR=1 else - if [ $AM_2 -eq $AM_V2 ]; then - if [ $AM_3 -gt $AM_V3 ]; then + if [ "$AM_2" -eq "$AM_V2" ]; then + if [ "$AM_3" -gt "$AM_V3" ]; then AM_ERROR=1 fi fi -- cgit v1.2.1