tazwok rev 471
tazwok, gen_wan_db(): tiny fix
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Apr 02 14:34:18 2011 +0200 (2011-04-02) |
parents | d84477f0aaaa |
children | 70132bd3161d b3f66f44f735 |
files | tazwok |
line diff
1.1 --- a/tazwok Sat Apr 02 14:10:11 2011 +0200 1.2 +++ b/tazwok Sat Apr 02 14:34:18 2011 +0200 1.3 @@ -1458,12 +1458,12 @@ 1.4 1.5 gen_wan_db() 1.6 { 1.7 - rm $wan_db 1.8 + rm -f $wan_db 1.9 for RECEIPT in $(fgrep -l WANTED $WOK/*/receipt); do 1.10 WANTED= 1.11 source $RECEIPT 1.12 [ "$WANTED" ] || continue 1.13 - echo -e $PACKAGE"\t"$WANTED >> $tmp/wan_db 1.14 + echo -e $PACKAGE"\t"$WANTED >> $wan_db 1.15 done 1.16 } 1.17