tazwok rev 394 4.2.4

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 8291eaa3cc23
children 8856004dc25a
files tazwok
line diff
     1.1 --- a/tazwok	Thu Mar 03 23:33:44 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