wok-6.x diff childsplay/receipt @ 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 | 9e422122e0bd |
children | e8024c01fc47 |
line diff
1.1 --- a/childsplay/receipt Thu Jun 11 23:44:37 2009 +0000 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 }