wok rev 9148

fix ovz-web-panel
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 06 22:15:32 2011 +0100 (2011-03-06)
parents 240266efee48
children 274a96c02bbf
files ovz-web-panel/receipt
line diff
     1.1 --- a/ovz-web-panel/receipt	Sun Mar 06 22:05:16 2011 +0100
     1.2 +++ b/ovz-web-panel/receipt	Sun Mar 06 22:15:32 2011 +0100
     1.3 @@ -14,7 +14,7 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	cd $PACKAGE
     1.8 +	cd $src
     1.9  	# Apply patches
    1.10  	while read patch_file; do
    1.11  		if [ -f done.$patch_file ]; then
    1.12 @@ -27,7 +27,8 @@
    1.13  	done <<EOT
    1.14  owp-${VERSION}.u
    1.15  EOT
    1.16 -	
    1.17 +	mkdir _pkg
    1.18 +	mv * _pkg 2> /dev/null || true
    1.19  }
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22 @@ -36,7 +37,7 @@
    1.23  	mkdir -p $fs/usr/share \
    1.24  		$fs/etc 
    1.25  				
    1.26 -	cp -a $PACKAGE $fs/usr/share
    1.27 +	cp -a $_pkg $fs/usr/share/$PACKAGE
    1.28  	cp -a $fs/usr/share/$PACKAGE/config/owp.conf.sample $fs/etc/owp.conf
    1.29  	cp -a $fs/usr/share//$PACKAGE/utils/hw-daemon/hw-daemon.ini.sample $fs/usr/share/$PACKAGE/utils/hw-daemon/hw-daemon.ini
    1.30