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/xgettext-perl-1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gettext-tools/tests/xgettext-perl-1') diff --git a/gettext-tools/tests/xgettext-perl-1 b/gettext-tools/tests/xgettext-perl-1 index 190d231..eb7b374 100755 --- a/gettext-tools/tests/xgettext-perl-1 +++ b/gettext-tools/tests/xgettext-perl-1 @@ -148,13 +148,15 @@ __END__ gettext "Discarded!"; EOF -tmpfiles="$tmpfiles xg-pl-1.po" +tmpfiles="$tmpfiles xg-pl-1.tmp.po xg-pl-1.po" : ${XGETTEXT=xgettext} ${XGETTEXT} --omit-header -n \ -k_ --flag=_:1:pass-perl-format --flag=_:1:pass-perl-brace-format \ -k%__ --flag=%__:1:pass-perl-format --flag=%__:1:pass-perl-brace-format \ -k\$__ --flag=\$__:1:pass-perl-format --flag=\$__:1:pass-perl-brace-format \ - -d xg-pl-1 xg-pl-1.pl + -d xg-pl-1.tmp xg-pl-1.pl +test $? = 0 || { rm -fr $tmpfiles; exit 1; } +tr -d '\r' < xg-pl-1.tmp.po > xg-pl-1.po test $? = 0 || { rm -fr $tmpfiles; exit 1; } tmpfiles="$tmpfiles xg-pl-1.ok" -- cgit v1.1