wok-next diff linux-isdn/receipt @ rev 9402
git: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 27 16:56:58 2011 +0200 (2011-03-27) |
parents | 03d4663c81fa |
children | d1768332cee0 |
line diff
1.1 --- a/linux-isdn/receipt Sat Jan 22 01:56:16 2011 +0000 1.2 +++ b/linux-isdn/receipt Sun Mar 27 16:56:58 2011 +0200 1.3 @@ -17,7 +17,7 @@ 1.4 mkdir -p $fs/$path 1.5 export src 1.6 export _pkg 1.7 - $src/slitaz/list_modules.sh drivers/isdn | while read module; do 1.8 + $WOK/$WANTED/stuff/list_modules.sh drivers/isdn | while read module; do 1.9 dir=$path/$(dirname $module) 1.10 [ -d $fs/$dir ] || mkdir -p $fs/$dir 1.11 cp -a $_pkg/$path/$module $fs/$dir 1.12 @@ -38,6 +38,6 @@ 1.13 1.14 post_remove() 1.15 { 1.16 - depmod -a $VERSION-slitaz 1.17 + chroot "$1/" depmod -a $VERSION-slitaz 1.18 } 1.19