From: Han-Wen Nienhuys Date: Wed, 20 Dec 2006 14:30:41 +0000 (+0100) Subject: only write non symlink files. X-Git-Tag: release/2.11.4-1 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=84f429b63e04397374f5c7a9a066192c1930a79a;p=lilypond.git only write non symlink files. --- 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)