wok-next rev 14586
clonezilla: fix no /usr/bin
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 26 18:51:30 2013 +0200 (2013-05-26) |
parents | cf3bdb2f261c |
children | b2a3063d4ef7 |
files | clonezilla/receipt |
line diff
1.1 --- a/clonezilla/receipt Sun May 26 12:45:28 2013 +0000 1.2 +++ b/clonezilla/receipt Sun May 26 18:51:30 2013 +0200 1.3 @@ -17,14 +17,15 @@ 1.4 { 1.5 cd $src 1.6 sed -i "s/SHELL/#SHELL/" Makefile 1.7 - make DESTDIR=$PWD/_pkg install 1.8 + make DESTDIR=$DESTDIR install 1.9 } 1.10 1.11 # Rules to gen a SliTaz package suitable for Tazpkg. 1.12 genpkg_rules() 1.13 { 1.14 - cp -a $_pkg/etc $fs/ 1.15 - cp -a $_pkg/usr/bin $fs/usr 1.16 - cp -a $_pkg/usr/sbin $fs/usr 1.17 - cp -a $_pkgs/usr/share $fs/usr 1.18 + mkdir -p $fs/usr 1.19 + cp -a $install/etc $fs/ 1.20 + cp -a $install/usr/bin $fs/usr 1.21 + cp -a $install/usr/sbin $fs/usr 1.22 + cp -a $install/usr/share $fs/usr 1.23 }