From c68c3b6574bcaba81c3435e6c086e1f3e3d5260a Mon Sep 17 00:00:00 2001
From: Victor Denisov <denisovenator@gmail.com>
Date: Fri, 26 Dec 2014 14:34:21 -0800
Subject: [PATCH] Change order of arguments of po4a

po4a doesn't work on ubuntu 12.04 and ubuntu 14.04 because of incorrect
order of arduments. Config file should be the last argument.
---
 i18n-tools/scripts/run_po4a.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/i18n-tools/scripts/run_po4a.sh b/i18n-tools/scripts/run_po4a.sh
index a0a2b691..c6babea9 100755
--- a/i18n-tools/scripts/run_po4a.sh
+++ b/i18n-tools/scripts/run_po4a.sh
@@ -28,7 +28,7 @@ if [ -n "$VERBOSE" ]; then
 else
     verbosity="-q"
 fi
-PERL5LIB="${SCRIPT_DIR}/perllib${PERL5LIB+:}$PERL5LIB" po4a -k0 $verbosity -f "$PO4A_CONFIG_FILE" --msgmerge-opt=--no-wrap --master-charset=UTF-8 --localized-charset=UTF-8
+PERL5LIB="${SCRIPT_DIR}/perllib${PERL5LIB+:}$PERL5LIB" po4a -k0 $verbosity -f --msgmerge-opt=--no-wrap --master-charset=UTF-8 --localized-charset=UTF-8 "$PO4A_CONFIG_FILE"
 
 # if applicable, touch dummy signal file to indicate success
 if [ -n "$PO4A_SIGNALFILE" ]; then