From: Mats Bengtsson Date: Wed, 4 Oct 2006 11:14:43 +0000 (+0000) Subject: * scripts/lilypond-book.py (bindir): Use os.path.join to add the X-Git-Tag: cvs/HEAD~17 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=9f82669033c396060b1bef500a2d4a92f836cd1a;p=lilypond.git * scripts/lilypond-book.py (bindir): Use os.path.join to add the path, in order to get correct path separators on all platforms. --- 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)