diff options
author | Bruno Haible <bruno@clisp.org> | 2007-05-14 23:06:31 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:14:48 +0200 |
commit | ea6f5e58fccbdb7c52038b045ffd8334cbc9839e (patch) | |
tree | c10b9eb2d90e6ed4a88c718f5c21a27c3e6a294a /gettext-tools/tests/xgettext-po-1 | |
parent | 8cab443cf22ac7ca0c2158436ec55f275753a128 (diff) | |
download | external_gettext-ea6f5e58fccbdb7c52038b045ffd8334cbc9839e.zip external_gettext-ea6f5e58fccbdb7c52038b045ffd8334cbc9839e.tar.gz external_gettext-ea6f5e58fccbdb7c52038b045ffd8334cbc9839e.tar.bz2 |
Convert CR/LF to LF.
Diffstat (limited to 'gettext-tools/tests/xgettext-po-1')
-rwxr-xr-x | gettext-tools/tests/xgettext-po-1 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gettext-tools/tests/xgettext-po-1 b/gettext-tools/tests/xgettext-po-1 index 0b0fc69..37b0b80 100755 --- a/gettext-tools/tests/xgettext-po-1 +++ b/gettext-tools/tests/xgettext-po-1 @@ -45,10 +45,12 @@ main (int argc, char *argv[]) } EOF -tmpfiles="$tmpfiles xg-po-1.po" +tmpfiles="$tmpfiles xg-po-1.tmp.po xg-po-1.po" : ${XGETTEXT=xgettext} ${XGETTEXT} --omit-header -n \ - -d xg-po-1 xg-po-1.in.po xg-po-1.c xg-po-1.cc + -d xg-po-1.tmp xg-po-1.in.po xg-po-1.c xg-po-1.cc +test $? = 0 || { rm -fr $tmpfiles; exit 1; } +tr -d '\r' < xg-po-1.tmp.po > xg-po-1.po test $? = 0 || { rm -fr $tmpfiles; exit 1; } tmpfiles="$tmpfiles xg-po-1.ok" |