1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

debug test a non-greedy pattern

This commit is contained in:
Yang Tse 2009-06-07 00:48:57 +00:00
parent 2df75e84e7
commit d71c1514f2

View File

@ -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