From: Phil Holmes Date: Sun, 24 May 2015 13:44:10 +0000 (+0100) Subject: Remove CR LF from snippets using makelsr X-Git-Tag: release/2.19.22-1~68^2~12 X-Git-Url: https://git.donarmstrong.com/?p=lilypond.git;a=commitdiff_plain;h=b1a041c2c5b46e4f3ad654cbcfb712c267031863 Remove CR LF from snippets using makelsr --- 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)