~ubuntu-branches/ubuntu/utopic/gettext/utopic

« back to all changes in this revision

Viewing changes to gettext-tools/tests/lang-sh

  • Committer: Colin Watson
  • Date: 2010-08-01 21:36:08 UTC
  • mfrom: (2.1.10 sid)
  • Revision ID: cjwatson@canonical.com-20100801213608-yy7vkm8lpatep3ci
merge from Debian 0.18.1.1-1

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
: ${XGETTEXT=xgettext}
33
33
${XGETTEXT} -o prog.tmp --omit-header --no-location prog.sh
34
34
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
35
 
tr -d '\r' < prog.tmp > prog.pot
 
35
LC_ALL=C tr -d '\r' < prog.tmp > prog.pot
36
36
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
37
37
 
38
38
tmpfiles="$tmpfiles prog.ok"
72
72
: ${MSGMERGE=msgmerge}
73
73
${MSGMERGE} -q -o fr.po.tmp fr.po prog.pot
74
74
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
75
 
tr -d '\r' < fr.po.tmp > fr.po.new
 
75
LC_ALL=C tr -d '\r' < fr.po.tmp > fr.po.new
76
76
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
77
77
 
78
78
: ${DIFF=diff}