cookutils diff cook @ rev 98

cooker: list testing is finish now cook them all. cook: one more QA check right after genpkg_rules
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 08 23:05:44 2011 +0200 (2011-05-08)
parents df9ad242ebbc
children 97003a6262be
line diff
     1.1 --- a/cook	Sun May 08 20:19:13 2011 +0200
     1.2 +++ b/cook	Sun May 08 23:05:44 2011 +0200
     1.3 @@ -465,9 +465,15 @@
     1.4  	if grep -q ^genpkg_rules $receipt; then
     1.5  		gettext -e "Executing: genpkg_rules\n"
     1.6  		cd $pkgdir
     1.7 -		mkdir -p $fs && genpkg_rules || (echo -e \
     1.8 -			"\nERROR: genpkg_rules failed\n" >> $LOGS/$pkg.log && exit 1)
     1.9 +		mkdir -p $fs && genpkg_rules || echo -e \
    1.10 +			"\nERROR: genpkg_rules failed\n" >> $LOGS/$pkg.log
    1.11  	fi
    1.12 +
    1.13 +	# First QA check to stop now if genpkg_rules failed.
    1.14 +	if fgrep -q ERROR: $LOGS/$pkg.log; then
    1.15 +		exit 1
    1.16 +	fi
    1.17 +	
    1.18  	cd $taz
    1.19  	for file in receipt description.txt
    1.20  	do