From d71c1514f2b18731e54cc317e5390d7dcf572c8a Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sun, 7 Jun 2009 00:48:57 +0000 Subject: debug test a non-greedy pattern --- buildconf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/buildconf b/buildconf index 78f5d9533..2e563808e 100755 --- a/buildconf +++ b/buildconf @@ -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 -- cgit v1.2.3