wok-current rev 10429

gnu-efi: fix build (use cook ot tazwok)
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 24 23:16:46 2011 +0200 (2011-05-24)
parents 6cc1797db326
children f7be9547634c
files gnu-efi/receipt
line diff
     1.1 --- a/gnu-efi/receipt	Tue May 24 21:25:41 2011 +0200
     1.2 +++ b/gnu-efi/receipt	Tue May 24 23:16:46 2011 +0200
     1.3 @@ -13,8 +13,8 @@
     1.4  compile_rules()
     1.5  {
     1.6  	KERNEL_VERSION=`grep  ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
     1.7 -	if [ ! -d $WOK/linux/linux-$KERNEL_VERSION ]; then
     1.8 -        	tazwok cook linux
     1.9 +	if [ ! -d $WOK/linux/install ]; then
    1.10 +        	cook linux || tazwok cook linux
    1.11  	fi
    1.12  	cd $src
    1.13  	sed -i "s|^INSTALLROOT.*|INSTALLROOT=$PWD/_pkg/usr|" Make.defaults