wok-stable rev 3444

slitaz-dev-tools: Tiny cosmetic changes
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jun 14 14:30:11 2009 +0200 (2009-06-14)
parents 00ba339761e5
children d80bbe920b1e
files slitaz-dev-tools/stuff/tazdev
line diff
     1.1 --- a/slitaz-dev-tools/stuff/tazdev	Sun Jun 14 12:22:17 2009 +0200
     1.2 +++ b/slitaz-dev-tools/stuff/tazdev	Sun Jun 14 14:30:11 2009 +0200
     1.3 @@ -9,8 +9,9 @@
     1.4  
     1.5  if [ -f /etc/slitaz/tazdev.conf ]; then
     1.6  	. /etc/slitaz/tazdev.conf
     1.7 -elif [ -f $PWD/tazdev.conf ]; then
     1.8 -	. $PWD/tazdev.conf
     1.9 +	if [ -f $PWD/tazdev.conf ]; then
    1.10 +		. $PWD/tazdev.conf
    1.11 +	fi
    1.12  else
    1.13  	echo -e "\nNo config file found in /etc/slitaz or the current dir...\n"
    1.14  	exit 0
    1.15 @@ -62,6 +63,7 @@
    1.16  	cmplog)
    1.17  		# Log 'tazwok cmp' for the web interface (can be used via a cron job).
    1.18  		check_root
    1.19 +		echo -e "Starting 'tazwok cmp' (can be long)...\n"
    1.20  		tazwok cmp | grep ^[A-Z] | tee $CMP_LOG
    1.21  		echo "Date: `date`" >> $CMP_LOG ;;
    1.22  	update-wok)
    1.23 @@ -77,11 +79,14 @@
    1.24  			HG_WOK=$COOKING/wok
    1.25  			CHROOT_WOK=$COOKING/chroot/home/slitaz
    1.26  		fi
    1.27 +		echo ""
    1.28 +		echo "Hg wok     : $HG_WOK"
    1.29 +		echo "Chroot wok : $CHROOT_WOK"
    1.30  		cd $HG_WOK
    1.31  		hg pull && hg update
    1.32  		echo -n "Copying Hg wok to the chroot... "
    1.33  		cp -a $HG_WOK $CHROOT_WOK
    1.34 -		echo "Done" ;;
    1.35 +		echo -e "Done\n" ;;
    1.36  	update-www)
    1.37  		# Update website from repo.
    1.38  		echo ""