summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/lang-java
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools/tests/lang-java')
-rwxr-xr-xgettext-tools/tests/lang-java4
1 files changed, 2 insertions, 2 deletions
diff --git a/gettext-tools/tests/lang-java b/gettext-tools/tests/lang-java
index b89d891..f6cecb6 100755
--- a/gettext-tools/tests/lang-java
+++ b/gettext-tools/tests/lang-java
@@ -82,7 +82,7 @@ tmpfiles="$tmpfiles prog.tmp prog.pot"
: ${XGETTEXT=xgettext}
${XGETTEXT} -o prog.tmp --omit-header --no-location Program.java
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"
@@ -157,7 +157,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}