# HG changeset patch # User Christophe Lincoln # Date 1244982611 -7200 # Node ID e4d2da455c55199c63c5ef9bbfc24cda090a5583 # Parent 00ba339761e54cbef3606ef071088a2a21ebb4c2 slitaz-dev-tools: Tiny cosmetic changes diff -r 00ba339761e5 -r e4d2da455c55 slitaz-dev-tools/stuff/tazdev --- a/slitaz-dev-tools/stuff/tazdev Sun Jun 14 12:22:17 2009 +0200 +++ b/slitaz-dev-tools/stuff/tazdev Sun Jun 14 14:30:11 2009 +0200 @@ -9,8 +9,9 @@ if [ -f /etc/slitaz/tazdev.conf ]; then . /etc/slitaz/tazdev.conf -elif [ -f $PWD/tazdev.conf ]; then - . $PWD/tazdev.conf + if [ -f $PWD/tazdev.conf ]; then + . $PWD/tazdev.conf + fi else echo -e "\nNo config file found in /etc/slitaz or the current dir...\n" exit 0 @@ -62,6 +63,7 @@ cmplog) # Log 'tazwok cmp' for the web interface (can be used via a cron job). check_root + echo -e "Starting 'tazwok cmp' (can be long)...\n" tazwok cmp | grep ^[A-Z] | tee $CMP_LOG echo "Date: `date`" >> $CMP_LOG ;; update-wok) @@ -77,11 +79,14 @@ HG_WOK=$COOKING/wok CHROOT_WOK=$COOKING/chroot/home/slitaz fi + echo "" + echo "Hg wok : $HG_WOK" + echo "Chroot wok : $CHROOT_WOK" cd $HG_WOK hg pull && hg update echo -n "Copying Hg wok to the chroot... " cp -a $HG_WOK $CHROOT_WOK - echo "Done" ;; + echo -e "Done\n" ;; update-www) # Update website from repo. echo ""