Portability fix: use head -n 1 iso head -1
authorJean-Paul Saman <jpsaman@videolan.org>
Wed, 13 Jun 2007 08:37:51 +0000 (08:37 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Wed, 13 Jun 2007 08:37:51 +0000 (08:37 +0000)
bootstrap

index 841c31b..4fcb42b 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -64,7 +64,7 @@ fi
 
 # Check for autoconf
 rm -f m4/autoconf260.m4
-case "$(autoconf --version|head -1)" in
+case "$(autoconf --version|head -1)" in
   *2.5[012345678]*)
     echo "Hey, your autoconf is quite old. Update it." >&2
     exit 1