wok rev 3399
childsplay: fix patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 12 09:58:56 2009 +0200 (2009-06-12) |
parents | a5a4c7419752 |
children | 9cc8e4a89170 |
files | childsplay/receipt |
line diff
1.1 --- a/childsplay/receipt Fri Jun 12 09:41:02 2009 +0200 1.2 +++ b/childsplay/receipt Fri Jun 12 09:58:56 2009 +0200 1.3 @@ -17,7 +17,11 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 - patch -p1 -i ../stuff/INSTALL.sh.patch 1.8 + for i in INSTALL.sh.patch ; do 1.9 + [ -f $i.done ] && continue 1.10 + patch -p0 -i ../stuff/$i 1.11 + touch $i.done 1.12 + done 1.13 sh INSTALL.sh 1.14 sed -i "s/\/usr\/local/\/usr/" $src/_pkg/usr/bin/childsplay 1.15 }