summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/lang-php
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools/tests/lang-php')
-rwxr-xr-xgettext-tools/tests/lang-php4
1 files changed, 2 insertions, 2 deletions
diff --git a/gettext-tools/tests/lang-php b/gettext-tools/tests/lang-php
index affc72d..1bdea63 100755
--- a/gettext-tools/tests/lang-php
+++ b/gettext-tools/tests/lang-php
@@ -24,7 +24,7 @@ tmpfiles="$tmpfiles prog.tmp prog.pot"
: ${XGETTEXT=xgettext}
${XGETTEXT} -o prog.tmp --omit-header --no-location prog.php
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
-tr -d '\r' < prog.tmp > prog.pot
+LC_ALL=C tr -d '\r' < prog.tmp > prog.pot
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles prog.ok"
@@ -58,7 +58,7 @@ tmpfiles="$tmpfiles fr.po.tmp fr.po.new"
: ${MSGMERGE=msgmerge}
${MSGMERGE} -q -o fr.po.tmp fr.po prog.pot
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
-tr -d '\r' < fr.po.tmp > fr.po.new
+LC_ALL=C tr -d '\r' < fr.po.tmp > fr.po.new
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
: ${DIFF=diff}