# HG changeset patch # User Paul Issott # Date 1245616837 0 # Node ID 002c0837316fa213edbca135680603325b027f14 # Parent 69d3f80c266e7dc7c78bb19d5cc0bf18f3266299 slitaz-dev-tools: Tiny edits diff -r 69d3f80c266e -r 002c0837316f slitaz-dev-tools/stuff/tazdev --- a/slitaz-dev-tools/stuff/tazdev Sun Jun 21 18:16:04 2009 +0200 +++ b/slitaz-dev-tools/stuff/tazdev Sun Jun 21 20:40:37 2009 +0000 @@ -23,13 +23,13 @@ \033[1mUsage: \033[0m `basename $0` [command] [user] [stable|cooking|path] \033[1mCommands: \033[0m\n usage Print this short usage and command list. - projects-stats Display statistics about your projects (-ps) + projects-stats Display statistics about your projects (-ps). cmplog Log 'tazwok cmp' result (or use tazbb). update-wok Update Hg wok and copy it to the chroot wok. update-www Update SliTaz Website repo from Hg. chroot Mount virtual fs if needed and chroot into the build env. gen-chroot Generate a chroot using the last cooking base rootfs. - clean-chroot Clean a chroot environment (skip root/ and home/) + clean-chroot Clean a chroot environment (skip root/ and home/). push Upload new packages to the main mirror (-p). dry-push Show what will be uploaded to the mirror. Does nothing (-dp). pull Download new packages from the main mirror. @@ -97,7 +97,7 @@ mount_chroot() { if [ ! -d $ROOTFS/proc/1 ]; then - echo -n "Mounting virtual filesystem..." + echo -n "Mounting virtual filesystems..." mount -t proc proc $ROOTFS/proc mount -t sysfs sysfs $ROOTFS/sys mount -t devpts devpts $ROOTFS/dev/pts @@ -114,7 +114,7 @@ #sleep 6 ps=$(ps | grep `basename $0` | grep -v grep | wc -l) if [ "$ps" == "1" ]; then - echo -ne "\Unmounting virtual filesystem..." + echo -ne "\Unmounting virtual filesystems..." umount $ROOTFS/dev/shm umount $ROOTFS/dev/pts umount $ROOTFS/sys @@ -123,7 +123,7 @@ else echo -e "\nProcess: $ps\n" ps | grep `basename $0` | grep -v grep - echo -e "\nLeaving virtual filesystem unmounted (`pidof tazdev`)...\n" + echo -e "\nLeaving virtual filesystems unmounted (`pidof tazdev`)...\n" fi } @@ -212,7 +212,7 @@ get_version # Dont break another env. if [ -d $ROOTFS/bin ]; then - echo -e "\nA chroot environment already exist in : $ROOTFS\n" + echo -e "\nA chroot environment already exists in : $ROOTFS\n" exit 1 fi gen_new_chroot ;; @@ -225,7 +225,7 @@ else ROOTFS=$2 if [ ! -d "$ROOTFS" ]; then - echo -e "\nWarning : $ROOTFS dont exit!\n" + echo -e "\nWarning : $ROOTFS doesn't exist!\n" exit 1 fi fi