From ae8ab6fb6ec5ea6fe803d70828f01494c47c26f4 Mon Sep 17 00:00:00 2001
From: Han-Wen Nienhuys <hanwen@xs4all.nl>
Date: Wed, 20 Dec 2006 15:30:41 +0100
Subject: [PATCH] only write non symlink files.

---
 stepmake/bin/add-html-footer.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/stepmake/bin/add-html-footer.py b/stepmake/bin/add-html-footer.py
index 1fd33a8375..08a997c7ec 100644
--- 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)
 
 
 
-- 
2.39.5