From 9f82669033c396060b1bef500a2d4a92f836cd1a Mon Sep 17 00:00:00 2001 From: Mats Bengtsson Date: Wed, 4 Oct 2006 11:14:43 +0000 Subject: [PATCH] * scripts/lilypond-book.py (bindir): Use os.path.join to add the path, in order to get correct path separators on all platforms. --- ChangeLog | 5 +++++ scripts/lilypond-book.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1a1f05cebd..8403bdf940 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-10-04 Mats Bengtsson + + * scripts/lilypond-book.py (bindir): Use os.path.join to add the + path, in order to get correct path separators on all platforms. + 2006-10-04 Han-Wen Nienhuys * scm/backend-library.scm: update email address. diff --git a/scripts/lilypond-book.py b/scripts/lilypond-book.py index 60a5b204db..51c17e6b85 100644 --- a/scripts/lilypond-book.py +++ b/scripts/lilypond-book.py @@ -48,7 +48,7 @@ for d in ['@lilypond_datadir@', # dynamic relocation, for GUB binaries. bindir = os.path.abspath (os.path.split (sys.argv[0])[0]) -os.environ['PATH'] = bindir + ':' + os.environ['PATH'] +os.environ['PATH'] = os.path.join(bindir,os.environ['PATH']) for p in ['share', 'lib']: datadir = os.path.abspath (bindir + '/../%s/lilypond/current/python/' % p) sys.path.insert (0, datadir) -- 2.39.2