wok-6.x rev 9017

linmodem-hsfmodem: relax patch name
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 03 20:40:17 2011 +0100 (2011-03-03)
parents 547881468fc2
children 91b1096c3854
files linmodem-hsfmodem/receipt
line diff
     1.1 --- a/linmodem-hsfmodem/receipt	Thu Mar 03 14:00:57 2011 +0000
     1.2 +++ b/linmodem-hsfmodem/receipt	Thu Mar 03 20:40:17 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-*.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"