From a82c565d06a5a1ca65378ad7cc8f2eb052120a0e Mon Sep 17 00:00:00 2001 From: Filip Komar Date: Sun, 4 Aug 2013 18:41:58 +0000 Subject: small improvement of script + bootloader.pot branched for mga3 --- check_for_translation_work.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'check_for_translation_work.sh') diff --git a/check_for_translation_work.sh b/check_for_translation_work.sh index 79b23704..b5504925 100755 --- a/check_for_translation_work.sh +++ b/check_for_translation_work.sh @@ -173,16 +173,14 @@ do # checking the syntax of po file if required if [ $check_po_syntax -eq 1 ]; then if [ -f $language_code.po ]; then - msgfmt --statistics --verbose -c $language_code.po -o $language_code.po.mo 2>&1 | tee -a "$logfile"_this_run.log - rm $language_code.po.mo + msgfmt --statistics --verbose -c $language_code.po -o /dev/null 2>&1 | tee -a "$logfile"_this_run.log else echo "File $language_code.po is not present in $project_name. Automatic test is not possible." | tee -a "$logfile"_this_run.log fi # checking the syntax of po file if required if [ $check_pot_syntax -eq 1 ]; then if [ -f *.pot ]; then - msgfmt -c *.pot -o pot.mo 2>&1 | tee -a "$logfile"_this_run.log - rm pot.mo + msgfmt -c *.pot -o /dev/null 2>&1 | tee -a "$logfile"_this_run.log else echo "File *.pot is not present in $project_name. Automatic test is not possible." | tee -a "$logfile"_this_run.log fi -- cgit v1.2.1