From 1ebc1280e83af2e0d5d130d1b34b52f501f68bbb Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 6 Aug 1997 03:33:45 +0000 Subject: Fix for os version handling. --- src/configure.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/configure.in') diff --git a/src/configure.in b/src/configure.in index 989123ec8b7..2c60ff92054 100644 --- a/src/configure.in +++ b/src/configure.in @@ -80,11 +80,11 @@ starts 'checking host system type...' EOT TEMPLATE=generic GUESS=`grep "$host_os" template/.similar 2>/dev/null` - if test $GUESS - then host_os_no_ver=`grep "$host_os" | sed 's/[0-9.]*$//'` + if test ! "$GUESS" + then host_os_no_ver=`echo "$host_os" | sed 's/[0-9.]*$//'` GUESS=`grep "$host_os_no_ver" template/.similar 2>/dev/null` fi - if test $GUESS + if test "$GUESS" then TEMPLATE=`echo $GUESS | sed 's/.*=//'` fi -- cgit v1.2.3