]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/auxiliar/makelsr.py
Imported Upstream version 2.19.45
[lilypond.git] / scripts / auxiliar / makelsr.py
index 8d06023b01375455e2453bff0dc6e5ac4b3c1bca..71c8179f36721a047821e23cd25d9bf20fbe3618 100755 (executable)
@@ -28,7 +28,7 @@ lilypond_bin = os.path.join (conv_path, 'lilypond')
 
 
 LY_HEADER_LSR = '''%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
 %% and then run 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)