From 8a2e4c9d29aa49cc196266173da74d82c6607ab3 Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 26 Mar 2002 23:57:45 +0000 Subject: [PATCH] lilypond-1.3.141 --- stepmake/bin/add-html-footer.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/stepmake/bin/add-html-footer.py b/stepmake/bin/add-html-footer.py index 984bbc7c10..a3aa23133a 100644 --- a/stepmake/bin/add-html-footer.py +++ b/stepmake/bin/add-html-footer.py @@ -124,7 +124,7 @@ set_gcos () localtime = time.strftime ('%c %Z', time.localtime (time.time ())) if os.path.basename (index_url) != "index.html": - index_url = index_url + "/index.html" + index_url = os.path.join (index_url , "index.html") top_url = os.path.dirname (index_url) + "/" header = compose (default_header, header_file) @@ -172,8 +172,12 @@ def do_file (f): if os.path.basename (f) == "index.html": cwd = os.getcwd () if os.path.basename (cwd) == "topdocs": - index = "./index.html" - top = "./" + index = "index.html" + top = "" + + # don't cause ///////index.html entries in log files. + # index = "./index.html" + # top = "./" s = re.sub ('@INDEX@', index, s) s = re.sub ('@TOP@', top, s) -- 2.39.5