cookutils diff cooker @ rev 695

Fix RSS feed (now valid @ http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fcook.slitaz.org%2Fcooker.cgi%3Frss ).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 14 13:56:30 2014 +0300 (2014-10-14)
parents 00c89537b9d4
children da66e6be1add
line diff
     1.1 --- a/cooker	Wed Apr 30 00:45:19 2014 +0200
     1.2 +++ b/cooker	Tue Oct 14 13:56:30 2014 +0300
     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"