wok-4.x diff hardinfo/receipt @ rev 726

Hardinfo: fix os
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 02 21:12:50 2008 +0000 (2008-05-02)
parents c5069bc9ff25
children 307f8bb243e3
line diff
     1.1 --- a/hardinfo/receipt	Sat Apr 26 09:24:27 2008 +0000
     1.2 +++ b/hardinfo/receipt	Fri May 02 21:12:50 2008 +0000
     1.3 @@ -14,10 +14,15 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 -	patch -p0 < ../stuff/modules.patch  || exit 1
     1.8 -	patch -p0 < ../stuff/users.patch  || exit 1
     1.9 -	patch -p0 < ../stuff/languages.patch  || exit 1
    1.10 -	patch -p0 < ../stuff/boots.patch  || exit 1
    1.11 +	while read file; do
    1.12 +		patch -p0 < ../stuff/$file || exit 1
    1.13 +	done <<EOT
    1.14 +modules.patch
    1.15 +users.patch
    1.16 +languages.patch
    1.17 +boots.patch
    1.18 +os.patch
    1.19 +EOT
    1.20  	./configure \
    1.21  		--prefix=/usr \
    1.22  		$CONFIGURE_ARGS