slitaz-dev-tools rev 88

Fixed tazdev ROOTFS_PKG option.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 07 08:28:39 2011 +0000 (2011-05-07)
parents c72004c5ee53
children e5651c09cd2e
files tazdev/tazdev
line diff
     1.1 --- a/tazdev/tazdev	Sat May 07 06:10:36 2011 +0200
     1.2 +++ b/tazdev/tazdev	Sat May 07 08:28:39 2011 +0000
     1.3 @@ -148,12 +148,12 @@
     1.4  	echo -e "\nGenerating new chroot in : $rootfs"
     1.5  	separator	
     1.6  	mkdir -p $rootfs
     1.7 -	if [ "$ROOTFS_PKG" = "yes" ]; then
     1.8 -		for pkg in $CHROOT_PKG
     1.9 +	if [ "$ROOTFS_PKG" == "yes" ]; then
    1.10 +		for pkg in $CHROOT_PKGS
    1.11  		do
    1.12  			tazpkg get-install $pkg --root=$rootfs
    1.13  		done
    1.14 -	else
    1.15 +	elif [ "$ROOTFS_PKG" == "no" ]; then
    1.16  		cd $rootfs
    1.17  		wget $DL_URL/boot/cooking/rootfs-base.gz
    1.18  		echo -n "Extracting the rootfs..."