]> git.donarmstrong.com Git - lilypond.git/commitdiff
only write non symlink files. release/2.11.4-1
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 20 Dec 2006 14:30:41 +0000 (15:30 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 20 Dec 2006 14:30:41 +0000 (15:30 +0100)
stepmake/bin/add-html-footer.py

index 1fd33a83757d72784553973d9c6dd690bc4365e0..08a997c7ec1ced110840077f72233c0fca8b55b4 100644 (file)
@@ -258,7 +258,8 @@ def do_file (f):
     s = re.sub (' \((lilypond|lilypond-internals|music-glossary)\)</a>',
           '</a>', s)
 
-    open (f, 'w').write (s)
+    if not os.path.islink (f):
+        open (f, 'w').write (s)