From: Christopher Allan Webber Date: Sat, 13 Dec 2014 16:03:26 +0000 (-0600) Subject: Fix the output file to the correct one in the new i18n compile loop X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1439e4965f601ce72941746ba4e85cb409231e50;p=mediagoblin.git Fix the output file to the correct one in the new i18n compile loop --- diff --git a/devtools/update_translations.sh b/devtools/update_translations.sh index abc96be6..d82fab1f 100755 --- a/devtools/update_translations.sh +++ b/devtools/update_translations.sh @@ -58,7 +58,7 @@ echo "==> Compiling .mo files" for file in `find mediagoblin/i18n/ -name "*.po"`; do if [ "$file" != "mediagoblin/i18n/jbo/LC_MESSAGES/mediagoblin.po" ]; then ./bin/pybabel compile -i $file \ - -d mediagoblin/i18n/ \ + -o `dirname $file`/mediagoblin.mo \ -l `echo $file | awk -F / '{ print $3 }'`; else echo "Skipping $file which pybabel can't compile :(";