From: John Mandereau Date: Tue, 26 Feb 2008 08:03:22 +0000 (+0100) Subject: Revert lys-to-tely changes X-Git-Tag: release/2.11.42-1~17 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=5a392b8d4d1c1125f0f5552f3080becaaa9b1c24;p=lilypond.git Revert lys-to-tely changes This is not the right way to print base name of files in regtests and other collated-files. This commit reverts 043d8bff2c6ad082edba8a88c678299a7b9a89fd and 85ec5d253ad5468e2d3b30e25599891b175572f3. --- diff --git a/buildscripts/lys-to-tely.py b/buildscripts/lys-to-tely.py index dfaf671bed..c026522434 100644 --- a/buildscripts/lys-to-tely.py +++ b/buildscripts/lys-to-tely.py @@ -80,14 +80,6 @@ for opt in options: else: raise Exception ('unknown option: ' + o) -def shorten_file_name (n): - # ugh, regtests file names appear as full paths in GUB builds - # we try to do something here - b = os.path.basename (n) - if os.path.exists (b): - return b - return n - def name2line (n): # UGR s = r""" @@ -106,7 +98,6 @@ if files: name = os.path.basename (name) template = template % vars () - files = map (shorten_file_name, files) files.sort () s = "\n".join (map (name2line, files)) s = template.replace (include_snippets, s, 1)