From 5f426405a02fb20badeb3219cd4126a74e1d488b Mon Sep 17 00:00:00 2001 From: Ragnvald Maartmann-Moe IV Date: Sun, 21 Jul 2002 23:26:57 +0000 Subject: [PATCH] Automake detection fix from coob. --- bootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap b/bootstrap index 49d4252..fde6f58 100755 --- a/bootstrap +++ b/bootstrap @@ -26,7 +26,7 @@ if [ "$1" = "clean" ]; then else - VERSION=`automake --version |head| sed 's/automake (GNU automake) //'` + VERSION=`automake --version |head -1| sed 's/automake (GNU automake) //'` MAJOR=`echo $VERSION | cut -f1 -d.` MINOR=`echo $VERSION | cut -f2 -d.` if test "$MAJOR" -ge "1" -a "$MINOR" -ge "6"; then