diff options
author | Jason Greene <jason@php.net> | 2003-07-01 03:08:16 +0000 |
---|---|---|
committer | Jason Greene <jason@php.net> | 2003-07-01 03:08:16 +0000 |
commit | b8a5d84dba8e42ce309b97ca77f281f526790642 (patch) | |
tree | e3dfcf1bdf34bfc9ead7f68c3505f8fa99cb112d /build | |
parent | 9c26571b37a4acf6c7b2bde3d86af8974214b465 (diff) | |
download | php-git-b8a5d84dba8e42ce309b97ca77f281f526790642.tar.gz |
Prevent lines following the version output from confusing the version test
Diffstat (limited to 'build')
-rwxr-xr-x | build/buildcheck.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/buildcheck.sh b/build/buildcheck.sh index e96da0f821..b51b328632 100755 --- a/build/buildcheck.sh +++ b/build/buildcheck.sh @@ -16,7 +16,7 @@ # | Sascha Schumann <sascha@schumann.cx> | # +----------------------------------------------------------------------+ # -# $Id: buildcheck.sh,v 1.27 2003-06-27 00:19:43 sas Exp $ +# $Id: buildcheck.sh,v 1.28 2003-07-01 03:08:16 jason Exp $ # echo "buildconf: checking installation..." @@ -53,7 +53,7 @@ fi # libtoolize 1.4.3 or newer # Prefer glibtoolize over libtoolize for Mac OS X compatibility libtoolize=`./build/shtool path glibtoolize libtoolize 2> /dev/null` -lt_pversion=`$libtoolize --version 2>/dev/null|sed -e 's/^[^0-9]*//'` +lt_pversion=`$libtoolize --version 2>/dev/null|head -1|sed -e 's/^[^0-9]*//'` if test "$lt_pversion" = ""; then echo "buildconf: libtool not found." echo " You need libtool version 1.4.3 or newer installed" |