cookutils diff cooker @ rev 707

cookall.sh: skip broken packages
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 04 10:58:57 2015 +0100 (2015-03-04)
parents 00c89537b9d4
children da66e6be1add
line diff
     1.1 --- a/cooker	Wed Apr 30 00:45:19 2014 +0200
     1.2 +++ b/cooker	Wed Mar 04 10:58:57 2015 +0100
     1.3 @@ -209,9 +209,9 @@
     1.4  	echo "Creating $ARCH packages DB..."
     1.5  	for pkg in *
     1.6  	do
     1.7 -		if fgrep -q 'HOST_ARCH' $wok/$pkg/receipt; then
     1.8 -			. $wok/$pkg/receipt
     1.9 -			#: ${HOST_ARCH=i486}
    1.10 +		HOST_ARCH=
    1.11 +		. $wok/$pkg/receipt
    1.12 +		if [ -n "$HOST_ARCH" ]; then
    1.13  			if $(echo "$HOST_ARCH" | egrep -q "$ARCH|any"); then
    1.14  				count=$(($count + 1))
    1.15  				echo "Adding: $pkg"