wok rev 3447

tazdev: Fix wok copy
author Christophe Lincoln <pankso@slitaz.org>
date Mon Jun 15 01:00:18 2009 +0200 (2009-06-15)
parents e607bde987cb
children 2d175ca8550b
files slitaz-dev-tools/stuff/tazdev
line diff
     1.1 --- a/slitaz-dev-tools/stuff/tazdev	Sun Jun 14 23:53:53 2009 +0200
     1.2 +++ b/slitaz-dev-tools/stuff/tazdev	Mon Jun 15 01:00:18 2009 +0200
     1.3 @@ -74,18 +74,18 @@
     1.4  		check_root
     1.5  		if [ "$2" = "stable" ]; then
     1.6  			HG_WOK=$STABLE/wok
     1.7 -			CHROOT=$STABLE/chroot
     1.8 +			BUILD_WOK=$STABLE/chroot/home/slitaz
     1.9  		else
    1.10  			HG_WOK=$COOKING/wok
    1.11 -			CHROOT_WOK=$COOKING/chroot/home/slitaz
    1.12 +			BUILD_WOK=$COOKING/chroot/home/slitaz
    1.13  		fi
    1.14  		echo ""
    1.15 -		echo "Hg wok     : $HG_WOK"
    1.16 -		echo "Chroot wok : $CHROOT_WOK"
    1.17 +		echo "Hg wok    : $HG_WOK"
    1.18 +		echo "Build wok : $BUILD_WOK"
    1.19  		cd $HG_WOK
    1.20  		hg pull && hg update
    1.21 -		echo -n "Copying Hg wok to the chroot... "
    1.22 -		cp -a $HG_WOK $CHROOT_WOK
    1.23 +		echo -n "Copying Hg wok to the build wok... "
    1.24 +		cp -a $HG_WOK/* $BUILD_WOK
    1.25  		echo -e "Done\n" ;;
    1.26  	update-www)
    1.27  		# Update website from repo.