summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-07-04 01:34:15 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-07-04 01:34:15 +0000
commita7fa0731e6e9d72fe38d8bebc079a79b93d852a5 (patch)
treea90522427ccc6b2a734a9f52d38d8dfb5be5d63d
parentb579d26b1ff3d0adca442c3790a87bc3a35783b4 (diff)
downloadgpsd-a7fa0731e6e9d72fe38d8bebc079a79b93d852a5.tar.gz
Attempt to banish Mark Cohen's bug.
-rwxr-xr-xautogen.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/autogen.sh b/autogen.sh
index 5b7448dc..3e6ee86c 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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