diff options
author | Yang Tse <yangsita@gmail.com> | 2009-06-07 00:48:57 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-06-07 00:48:57 +0000 |
commit | d71c1514f2b18731e54cc317e5390d7dcf572c8a (patch) | |
tree | a59f0ba69a659bc33cc6099d170017ac8aa4dbb1 /buildconf | |
parent | 2df75e84e7402027b30e739bfec1f381a0f04349 (diff) | |
download | curl-d71c1514f2b18731e54cc317e5390d7dcf572c8a.tar.gz |
debug test a non-greedy pattern
Diffstat (limited to 'buildconf')
-rwxr-xr-x | buildconf | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -229,9 +229,9 @@ fi echo "buildconf: libtool version $lt_version (ok)" dbg1=`$libtool --version 2>/dev/null|head -n 1` -dbg2=`$libtool --version 2>/dev/null|head -n 1|sed -e "s/(.*)//"` -dbg3=`$libtool --version 2>/dev/null|head -n 1|sed -e "s/(.*)//" -e "s/^[^0-9]*//g"` -dbg4=`$libtool --version 2>/dev/null|head -n 1|sed -e "s/(.*)//" -e "s/^[^0-9]*//g" -e "s/[- ].*//"` +dbg2=`$libtool --version 2>/dev/null|head -n 1|sed -e "s/([^)]*)//g"` +dbg3=`$libtool --version 2>/dev/null|head -n 1|sed -e "s/([^)]*)//g" -e "s/^[^0-9]*//g"` +dbg4=`$libtool --version 2>/dev/null|head -n 1|sed -e "s/([^)]*)//g" -e "s/^[^0-9]*//g" -e "s/[- ].*//"` dbg5=`echo $dbg4|sed -e "s/\([a-z]*\)$//"` old_IFS=$IFS; IFS='.'; set $dbg5; IFS=$old_IFS dbg6=$1 |