cookutils rev 396

cook: fix ARCH when setup
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 13 03:13:34 2012 +0200 (2012-05-13)
parents 0464faf3e39c
children 3348b83ce2fa
files cook
line diff
     1.1 --- a/cook	Sun May 13 02:52:55 2012 +0200
     1.2 +++ b/cook	Sun May 13 03:13:34 2012 +0200
     1.3 @@ -933,7 +933,7 @@
     1.4  		# Setup for cross compiling.
     1.5  		arch=${1%-setup}
     1.6  		sed -i \
     1.7 -			-e s'/ARCH=.*/ARCH="$arch"/' \
     1.8 +			-e s"/ARCH=.*/ARCH=\"$arch\"/" \
     1.9  			-e s'/BUILD_SYSTEM=.*/BUILD_SYSTEM=i486-slitaz-linux/' \
    1.10  			/etc/slitaz/cook.conf
    1.11  		case "$arch" in