tazwok rev 259

Fix clean(): don't report fails when it's false, no more detailled output.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Feb 12 22:42:38 2011 +0100 (2011-02-12)
parents edfb3f3deb75
children 533899c4372c
files tazwok
line diff
     1.1 --- a/tazwok	Sat Feb 12 22:41:30 2011 +0100
     1.2 +++ b/tazwok	Sat Feb 12 22:42:38 2011 +0100
     1.3 @@ -1837,11 +1837,10 @@
     1.4  			receipt|stuff|description.txt|md5)
     1.5  				continue ;;
     1.6  			*)
     1.7 -				[ "$COMMAND" = clean-wok ] || echo "Removing: $f"
     1.8  				rm -rf $f
     1.9  		esac
    1.10  	done
    1.11 -	[ "$COMMAND" = clean-wok ] || report end-step
    1.12 +	[ ! "$COMMAND" = clean-wok ] && report end-step
    1.13  }
    1.14  
    1.15  # Configure and make a package with the receipt.