# HG changeset patch # User Antoine Bodin # Date 1297482270 -3600 # Node ID a4534c67d98cc71722960f7a287686866be623a6 # Parent 5ff5f524bc059d94d52738efbb34b4649d37a589 Try to speed-up clean-wok a little by removing too number report steps (in this case). diff -r 5ff5f524bc05 -r a4534c67d98c tazwok --- a/tazwok Sat Feb 12 04:19:25 2011 +0100 +++ b/tazwok Sat Feb 12 04:44:30 2011 +0100 @@ -1799,7 +1799,7 @@ ls -A $WOK/$PACKAGE | grep -q -v -e ^receipt$ -e ^description.txt$ \ -e ^stuff$ || return - report step "Cleaning $PACKAGE" + [ "$COMMAND" = clean-wok ] || report step "Cleaning $PACKAGE" # Check for clean_wok function. if grep -q ^clean_wok $RECEIPT; then clean_wok @@ -1815,7 +1815,7 @@ rm -rf $f esac done - report end-step + [ "$COMMAND" = clean-wok ] || report end-step } # Configure and make a package with the receipt. @@ -2462,14 +2462,12 @@ source_lib report report start report step "Cleaning wok" - report open-bloc for PACKAGE in `ls -1 $WOK` do set_common_path source_receipt clean done - report close-bloc echo "`ls -1 $WOK | wc -l` packages cleaned." ;; gen-list)