diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-07-04 01:34:15 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-07-04 01:34:15 +0000 |
commit | a7fa0731e6e9d72fe38d8bebc079a79b93d852a5 (patch) | |
tree | a90522427ccc6b2a734a9f52d38d8dfb5be5d63d | |
parent | b579d26b1ff3d0adca442c3790a87bc3a35783b4 (diff) | |
download | gpsd-a7fa0731e6e9d72fe38d8bebc079a79b93d852a5.tar.gz |
Attempt to banish Mark Cohen's bug.
-rwxr-xr-x | autogen.sh | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -49,11 +49,11 @@ AC_VERSION=`autoconf --version | sed -n -e 's#[^0-9]* \([0-9]*\)\.\([0-9]*\).*$# AC_V1=`echo $AC_VERSION | awk '{print $1}'` AC_V2=`echo $AC_VERSION | awk '{print $2}'` -if [ $AC_1 -gt $AC_V1 ]; then +if [ "$AC_1" -gt "$AC_V1" ]; then AC_ERROR=1 else - if [ $AC_1 -eq $AC_V1 ]; then - if [ $AC_2 -gt $AC_V2 ]; then + if [ "$AC_1" -eq "$AC_V1" ]; then + if [ "$AC_2" -gt "$AC_V2" ]; then AC_ERROR=1 fi fi @@ -73,11 +73,11 @@ LT_VERSION=`libtool --version | sed -n -e 's#[^0-9]* \([0-9]*\)\.\([0-9]*\).*$#\ LT_V1=`echo $LT_VERSION | awk '{print $1}'` LT_V2=`echo $LT_VERSION | awk '{print $2}'` -if [ $LT_1 -gt $LT_V1 ]; then +if [ "$LT_1" -gt "$LT_V1" ]; then LT_ERROR=1 else - if [ $LT_1 -eq $LT_V1 ]; then - if [ $LT_2 -gt $LT_V2 ]; then + if [ "$LT_1" -eq "$LT_V1" ]; then + if [ "$LT_2" -gt "$LT_V2" ]; then LT_ERROR=1 fi fi |