Updated statistics script: deleted temp file

This commit is contained in:
Marco Ciampa 2017-12-30 03:46:18 +01:00
parent 98f9e23ba6
commit cf243acf9c
1 changed files with 2 additions and 1 deletions

View File

@ -97,7 +97,7 @@ do
if [ "$i" = "en" ] ; then if [ "$i" = "en" ] ; then
msgen $LOCALDIR/$i/kicad.po -o $LOCALDIR/$i/kicad.po.tmp && mv $LOCALDIR/$i/kicad.po.tmp $LOCALDIR/$i/kicad.po msgen $LOCALDIR/$i/kicad.po -o $LOCALDIR/$i/kicad.po.tmp && mv $LOCALDIR/$i/kicad.po.tmp $LOCALDIR/$i/kicad.po
fi fi
msgfmt --statistics $LOCALDIR/$i/kicad.po 2>&1 >>/dev/null | msgfmt --statistics $LOCALDIR/$i/kicad.po -o $LOCALDIR/messages.mo 2>&1 >>/dev/null |
while IFS=",." read A B C D ; do while IFS=",." read A B C D ; do
echo $A echo $A
echo $B echo $B
@ -126,6 +126,7 @@ do
done done
echo "$i;${TRANSLATED};${FUZZY};${UNTRANSLATED}">>"${CSVFILE}" echo "$i;${TRANSLATED};${FUZZY};${UNTRANSLATED}">>"${CSVFILE}"
done done
rm $LOCALDIR/messages.mo
done done
if [ "$PLOT" = "1" ]; then if [ "$PLOT" = "1" ]; then