# HG changeset patch # User Antoine Bodin # Date 1301747658 -7200 # Node ID 2b0f1826a1192c5bdee4f3cca22cd9d0ba024f50 # Parent d84477f0aaaa0a8cee6d533f190381264c01c1a7 tazwok, gen_wan_db(): tiny fix diff -r d84477f0aaaa -r 2b0f1826a119 tazwok --- a/tazwok Sat Apr 02 14:10:11 2011 +0200 +++ b/tazwok Sat Apr 02 14:34:18 2011 +0200 @@ -1458,12 +1458,12 @@ gen_wan_db() { - rm $wan_db + rm -f $wan_db for RECEIPT in $(fgrep -l WANTED $WOK/*/receipt); do WANTED= source $RECEIPT [ "$WANTED" ] || continue - echo -e $PACKAGE"\t"$WANTED >> $tmp/wan_db + echo -e $PACKAGE"\t"$WANTED >> $wan_db done }