From ea6f5e58fccbdb7c52038b045ffd8334cbc9839e Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 14 May 2007 23:06:31 +0000 Subject: Convert CR/LF to LF. --- gettext-tools/tests/msgconv-5 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gettext-tools/tests/msgconv-5') diff --git a/gettext-tools/tests/msgconv-5 b/gettext-tools/tests/msgconv-5 index ab352a1..fd448d0 100755 --- a/gettext-tools/tests/msgconv-5 +++ b/gettext-tools/tests/msgconv-5 @@ -51,9 +51,11 @@ msgstr "photocopieur" #~ msgstr "Enregistrer sous" EOF -tmpfiles="$tmpfiles mco-test5.out" +tmpfiles="$tmpfiles mco-test5.tmp mco-test5.out" : ${MSGCONV=msgconv} -${MSGCONV} --to-code=UTF-8 -o mco-test5.out mco-test5.po +${MSGCONV} --to-code=UTF-8 -o mco-test5.tmp mco-test5.po +test $? = 0 || { rm -fr $tmpfiles; exit 1; } +tr -d '\r' < mco-test5.tmp > mco-test5.out test $? = 0 || { rm -fr $tmpfiles; exit 1; } tmpfiles="$tmpfiles mco-test5.ok" -- cgit v1.1