wok rev 3526

slitaz-dev-tools: Tiny edits
author Paul Issott <paul@slitaz.org>
date Sun Jun 21 20:40:37 2009 +0000 (2009-06-21)
parents 69d3f80c266e
children 87cd9284651c
files slitaz-dev-tools/stuff/tazdev
line diff
     1.1 --- a/slitaz-dev-tools/stuff/tazdev	Sun Jun 21 18:16:04 2009 +0200
     1.2 +++ b/slitaz-dev-tools/stuff/tazdev	Sun Jun 21 20:40:37 2009 +0000
     1.3 @@ -23,13 +23,13 @@
     1.4  \033[1mUsage: \033[0m `basename $0` [command] [user] [stable|cooking|path]
     1.5  \033[1mCommands: \033[0m\n
     1.6   usage          Print this short usage and command list.
     1.7 - projects-stats Display statistics about your projects (-ps)
     1.8 + projects-stats Display statistics about your projects (-ps).
     1.9   cmplog         Log 'tazwok cmp' result (or use tazbb).
    1.10   update-wok     Update Hg wok and copy it to the chroot wok.
    1.11   update-www     Update SliTaz Website repo from Hg.
    1.12   chroot         Mount virtual fs if needed and chroot into the build env.
    1.13   gen-chroot     Generate a chroot using the last cooking base rootfs.
    1.14 - clean-chroot   Clean a chroot environment (skip root/ and home/)
    1.15 + clean-chroot   Clean a chroot environment (skip root/ and home/).
    1.16   push           Upload new packages to the main mirror (-p).
    1.17   dry-push       Show what will be uploaded to the mirror. Does nothing (-dp).
    1.18   pull           Download new packages from the main mirror.
    1.19 @@ -97,7 +97,7 @@
    1.20  mount_chroot()
    1.21  {
    1.22  	if [ ! -d $ROOTFS/proc/1 ]; then
    1.23 -		echo -n "Mounting virtual filesystem..."
    1.24 +		echo -n "Mounting virtual filesystems..."
    1.25  		mount -t proc proc $ROOTFS/proc
    1.26  		mount -t sysfs sysfs $ROOTFS/sys
    1.27  		mount -t devpts devpts $ROOTFS/dev/pts
    1.28 @@ -114,7 +114,7 @@
    1.29  	#sleep 6
    1.30  	ps=$(ps | grep `basename $0` | grep -v grep | wc -l)
    1.31  	if [ "$ps" == "1" ]; then
    1.32 -		echo -ne "\Unmounting virtual filesystem..."
    1.33 +		echo -ne "\Unmounting virtual filesystems..."
    1.34  		umount $ROOTFS/dev/shm
    1.35  		umount $ROOTFS/dev/pts
    1.36  		umount $ROOTFS/sys
    1.37 @@ -123,7 +123,7 @@
    1.38  	else
    1.39  		echo -e "\nProcess: $ps\n"
    1.40  		ps | grep `basename $0` | grep -v grep
    1.41 -		echo -e "\nLeaving virtual filesystem unmounted (`pidof tazdev`)...\n"
    1.42 +		echo -e "\nLeaving virtual filesystems unmounted (`pidof tazdev`)...\n"
    1.43  	fi
    1.44  }
    1.45  
    1.46 @@ -212,7 +212,7 @@
    1.47  		get_version
    1.48  		# Dont break another env.
    1.49  		if [ -d $ROOTFS/bin ]; then
    1.50 -			echo -e "\nA chroot environment already exist in : $ROOTFS\n"
    1.51 +			echo -e "\nA chroot environment already exists in : $ROOTFS\n"
    1.52  			exit 1
    1.53  		fi
    1.54  		gen_new_chroot ;;
    1.55 @@ -225,7 +225,7 @@
    1.56  		else
    1.57  			ROOTFS=$2
    1.58  			if [ ! -d "$ROOTFS" ]; then
    1.59 -				echo -e "\nWarning : $ROOTFS dont exit!\n"
    1.60 +				echo -e "\nWarning : $ROOTFS doesn't exist!\n"
    1.61  				exit 1
    1.62  			fi
    1.63  		fi