From b1a041c2c5b46e4f3ad654cbcfb712c267031863 Mon Sep 17 00:00:00 2001 From: Phil Holmes Date: Sun, 24 May 2015 14:44:10 +0100 Subject: [PATCH] Remove CR LF from snippets using makelsr --- scripts/auxiliar/makelsr.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/auxiliar/makelsr.py b/scripts/auxiliar/makelsr.py index d17fd53c71..71c8179f36 100755 --- a/scripts/auxiliar/makelsr.py +++ b/scripts/auxiliar/makelsr.py @@ -251,6 +251,7 @@ def copy_ly (srcdir, name, tags): s = strip_white_spaces_re.sub ('', s) s = final_empty_lines_re.sub ('\n', s) s = escape_backslashes_in_header (s) + s = s.replace ("\r\n", "\n") sys.stderr.write ("makelsr.py: writing %s\n" % dest) open (dest, 'w').write (s) -- 2.39.2