wok-current rev 8973

linmodem-hsfmodem: use variable
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 02 10:41:40 2011 +0100 (2011-03-02)
parents 5625dc1287ba
children 940b5937e496
files linmodem-hsfmodem/receipt
line diff
     1.1 --- a/linmodem-hsfmodem/receipt	Wed Mar 02 10:32:40 2011 +0100
     1.2 +++ b/linmodem-hsfmodem/receipt	Wed Mar 02 10:41:40 2011 +0100
     1.3 @@ -18,7 +18,7 @@
     1.4  	KERNEL_VERSION=`grep  ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
     1.5  	cd $src
     1.6  	echo "Apply $file..."
     1.7 -	patch -p1 < ../stuff/$SOURCE-$VERSION.diff || return 1
     1.8 +	patch -p1 < $stuff/$SOURCE-$VERSION.diff || return 1
     1.9  	grep -rl 'uname -r' . | xargs sed -i "s/uname -r/echo $KERNEL_VERSION/g"
    1.10  	# build driver
    1.11  	echo "Build driver"
    1.12 @@ -46,7 +46,7 @@
    1.13  	# config files
    1.14  	mkdir -p $fs/etc
    1.15  	cp -a $_pkg/etc/hsfmodem $fs/etc
    1.16 -	cp -a stuff/zone.tab $fs/etc/hsfmodem
    1.17 +	cp -a $stuff/zone.tab $fs/etc/hsfmodem
    1.18  }
    1.19  
    1.20  post_install()