diff options
author | Filip Komar <filip@mageia.org> | 2013-08-04 18:41:58 +0000 |
---|---|---|
committer | Filip Komar <filip@mageia.org> | 2013-08-04 18:41:58 +0000 |
commit | a82c565d06a5a1ca65378ad7cc8f2eb052120a0e (patch) | |
tree | c46abf31019e1160a07ccd61f40705e8c18a5740 /check_for_translation_work.sh | |
parent | 1e429bbbaf6613579bdb9e35ed1282404281c965 (diff) | |
download | tools-a82c565d06a5a1ca65378ad7cc8f2eb052120a0e.tar tools-a82c565d06a5a1ca65378ad7cc8f2eb052120a0e.tar.gz tools-a82c565d06a5a1ca65378ad7cc8f2eb052120a0e.tar.bz2 tools-a82c565d06a5a1ca65378ad7cc8f2eb052120a0e.tar.xz tools-a82c565d06a5a1ca65378ad7cc8f2eb052120a0e.zip |
small improvement of script + bootloader.pot branched for mga3
Diffstat (limited to 'check_for_translation_work.sh')
-rwxr-xr-x | check_for_translation_work.sh | 6 |
1 files changed, 2 insertions, 4 deletions
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 |