From: Jan Nieuwenhuizen Date: Wed, 3 Nov 2004 19:49:30 +0000 (+0000) Subject: (program_name): Bugfix: use only basename of X-Git-Tag: release/2.4.2~3^2~21 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=df87036a281cb7c95a2ff8f94ea7437fe54227ba;p=lilypond.git (program_name): Bugfix: use only basename of argv[0] (Thomas Scharkowski). --- diff --git a/ChangeLog b/ChangeLog index 4763e11d75..de6e5ffd7a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2004-11-03 Jan Nieuwenhuizen + * scripts/lilypond-latex.py (program_name): Bugfix: use only basename of + argv[0] (Thomas Scharkowski). + * configure.in: Bugfix: add REQUIRED parameter to STEPMAKE_TEXMF call (carlyannehorse). Also check for mf and mf-nowin. Add check for ec-fonts-mtraced. diff --git a/scripts/lilypond-latex.py b/scripts/lilypond-latex.py index 6819166da1..54f648aa9f 100644 --- a/scripts/lilypond-latex.py +++ b/scripts/lilypond-latex.py @@ -82,7 +82,7 @@ global _;_=ly._ global re;re = ly.re # lilylib globals -program_name = sys.argv[0] +program_name = os.path.split (sys.argv[0])[1] program_version = '@TOPLEVEL_VERSION@' # input without \book, use classic latex definitions classic_p = 0