diff options
author | Yang Tse <yangsita@gmail.com> | 2009-06-06 14:27:28 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-06-06 14:27:28 +0000 |
commit | 439891cb9fd4e5a34038fe29a13268d1d408869e (patch) | |
tree | f582042968518896d98d714e4a31123e06182d90 | |
parent | bdfb3ef11cb1bad7cf9655bf536ac8769384bcbe (diff) | |
download | curl-439891cb9fd4e5a34038fe29a13268d1d408869e.tar.gz |
attempt to fix regex
-rwxr-xr-x | buildconf | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -191,7 +191,7 @@ else libtoolize=`findtool $LIBTOOLIZE` fi -lt_pversion=`$libtool --version 2>/dev/null|head -n 1|sed -e 's/(.*)//' -e 's/^[^0-9]*//g' -e 's/[- ].*//'` +lt_pversion=`$libtool --version 2>/dev/null|head -n 1|sed -e 's/[(].*[)]//' -e 's/^[^0-9]*//g' -e 's/[- ].*//'` if test -z "$lt_pversion"; then echo "buildconf: libtool not found." echo " You need libtool version $LIBTOOL_WANTED_VERSION or newer installed" @@ -228,6 +228,8 @@ fi echo "buildconf: libtool version $lt_version (ok)" +exit 0 + if test -f "$libtoolize"; then echo "buildconf: libtoolize found" else |