wok-stable diff mISDN/receipt @ rev 2162

Add linux-mmc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 07 08:44:15 2009 +0000 (2009-02-07)
parents 0d30d3d18dcb
children f306d126580e
line diff
     1.1 --- a/mISDN/receipt	Fri Oct 03 16:09:39 2008 +0000
     1.2 +++ b/mISDN/receipt	Sat Feb 07 08:44:15 2009 +0000
     1.3 @@ -16,9 +16,9 @@
     1.4  	if [ ! -d $WOK/linux/taz ]; then
     1.5  		tazwok cook linux
     1.6  	fi
     1.7 -	KVERS=$(grep "kernel version" $WOK/linux/linux-*/.config)
     1.8 +	KVERS=$(grep "kernel version" $WOK/linux/$(ls $WOK/linux/taz)/.config)
     1.9  	KVERS=${KVERS##* }
    1.10 -	KSRC=$(cd $WOK/linux/linux-* ; pwd)
    1.11 +	KSRC=$(cd $WOK/linux/$(ls $WOK/linux/taz) ; pwd)
    1.12  	cd $src
    1.13  	while read file; do
    1.14  		[ -f done.$file ] && continue
    1.15 @@ -42,7 +42,7 @@
    1.16  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.17  genpkg_rules()
    1.18  {
    1.19 -	KVERS=$(grep "kernel version" ../linux/linux-*/.config)
    1.20 +	KVERS=$(grep "kernel version" ../linux/$(ls ../linux/taz)/.config)
    1.21  	EXTRAVERSION=_${KVERS##* }
    1.22  	mkdir -p $fs/usr $fs/etc
    1.23  	( cd $_pkg ; tar cf - lib/modules/*/extra ) | ( cd $fs ; tar xf - )