From 84f429b63e04397374f5c7a9a066192c1930a79a Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys 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)\)', '', s) - open (f, 'w').write (s) + if not os.path.islink (f): + open (f, 'w').write (s) -- 2.39.5