tazwok rev 468 4.3

tazwok, check_for_build_depends: fix a bug which made cook freeze when there was broken bdeps
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Apr 01 04:47:00 2011 +0200 (2011-04-01)
parents 0735786404f7
children 70132bd3161d
files tazwok
line diff
     1.1 --- a/tazwok	Mon Mar 28 21:16:57 2011 +0200
     1.2 +++ b/tazwok	Fri Apr 01 04:47:00 2011 +0200
     1.3 @@ -400,7 +400,7 @@
     1.4  	if [ "$broken_pkg" ]; then
     1.5  		MISSING_PACKAGE=$plan_remove
     1.6  		echo "Can't cook $PACKAGE because of broken depend(s) : $broken_pkg" >&2
     1.7 -		unset plan_remove broken
     1.8 +		unset plan_remove broken_pkg
     1.9  		
    1.10  		# Set report step to failed.
    1.11  		report_return_code=1