wok-next rev 4208

Fix: tazbb clean_up build wok
author Christophe Lincoln <pankso@slitaz.org>
date Thu Sep 24 09:51:12 2009 +0200 (2009-09-24)
parents 9c5274c5f733
children 22edcb980769
files tazbb/stuff/tazbb
line diff
     1.1 --- a/tazbb/stuff/tazbb	Thu Sep 24 09:44:25 2009 +0200
     1.2 +++ b/tazbb/stuff/tazbb	Thu Sep 24 09:51:12 2009 +0200
     1.3 @@ -349,9 +349,9 @@
     1.4  	touch $DB_DIR/removed
     1.5  	echo -e "\nCleaning the build wok, old and corrupted packages...\n"
     1.6  	echo "(cleaning)" > $DB_DIR/running
     1.7 -	for pkg in `ls $HG_WOK`
     1.8 +	for pkg in `ls $BUILD_WOK`
     1.9  	do
    1.10 -		if [ ! -d $BUILD_WOK/$pkg ]; then
    1.11 +		if [ ! -d $HG_WOK/$pkg ]; then
    1.12  			case $2 in
    1.13  				--dry-run)
    1.14  					echo "Removing directory : $pkg" ;;