From 99426c36c690cf63f38b3ac0eb28b253aca9731e Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 1 Aug 2002 20:23:24 +0000 Subject: [PATCH] fix a bug with automake detection --- bootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap b/bootstrap index 4bfacec82..02385fefd 100755 --- a/bootstrap +++ b/bootstrap @@ -48,7 +48,7 @@ fi am=`which automake` if test -n "$am" ; then if test -x "$am" ; then - AM_VER=`automake --version |head| sed 's/automake (GNU automake) //'` + AM_VER=`automake --version | head -1 | sed 's/automake (GNU automake) //'` AM_VER_MAJOR=`echo $AM_VER | cut -f1 -d.` AM_VER_MINOR=`echo $AM_VER | cut -f2 -d.` if test "$AM_VER_MAJOR" -lt "1"; then