projects
/
lilypond.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
964a8e2
)
only write non symlink files.
release/2.10.4-1
author
Han-Wen Nienhuys
<hanwen@xs4all.nl>
Wed, 20 Dec 2006 14:30:41 +0000
(15:30 +0100)
committer
Han-Wen Nienhuys
<hanwen@xs4all.nl>
Wed, 20 Dec 2006 14:44:38 +0000
(15:44 +0100)
stepmake/bin/add-html-footer.py
patch
|
blob
|
history
diff --git
a/stepmake/bin/add-html-footer.py
b/stepmake/bin/add-html-footer.py
index 1fd33a83757d72784553973d9c6dd690bc4365e0..08a997c7ec1ced110840077f72233c0fca8b55b4 100644
(file)
--- a/
stepmake/bin/add-html-footer.py
+++ b/
stepmake/bin/add-html-footer.py
@@
-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)