tazwok diff tazwok @ rev 394

Fix a bug which prevent check_for_build_depends() to catch all build depends. (thanks godane)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Mar 04 02:37:40 2011 +0100 (2011-03-04)
parents eee0b326a1de
children 87a358f04407 f458935ca87b
line diff
     1.1 --- a/tazwok	Thu Mar 03 21:29:18 2011 +0100
     1.2 +++ b/tazwok	Fri Mar 04 02:37:40 2011 +0100
     1.3 @@ -307,7 +307,7 @@
     1.4  	rwanted=$(look_for_rwanted)
     1.5  
     1.6  	for pkg in $(scan $PACKAGE --look_for=bdep --with_dev | \
     1.7 -		fgrep -v $(for i in $(look_for_rwanted) $PACKAGE; do echo " -e $i"; done))
     1.8 +		grep -v $(for i in $(look_for_rwanted) $PACKAGE; do echo " -e ^$i$"; done))
     1.9  	do
    1.10  
    1.11  		# Delay the removing of previous cook depends if they are needed