aboutsummaryrefslogtreecommitdiffstats
path: root/check_for_translation_work.sh
diff options
context:
space:
mode:
authorFilip Komar <filip@mageia.org>2013-08-04 18:41:58 +0000
committerFilip Komar <filip@mageia.org>2013-08-04 18:41:58 +0000
commita82c565d06a5a1ca65378ad7cc8f2eb052120a0e (patch)
treec46abf31019e1160a07ccd61f40705e8c18a5740 /check_for_translation_work.sh
parent1e429bbbaf6613579bdb9e35ed1282404281c965 (diff)
downloadtools-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-xcheck_for_translation_work.sh6
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