]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 3467: lilypond-book 2.17.21 and spaces in file path
authorDavid Kastrup <dak@gnu.org>
Sat, 27 Jul 2013 14:44:54 +0000 (16:44 +0200)
committerDavid Kastrup <dak@gnu.org>
Fri, 2 Aug 2013 07:39:23 +0000 (09:39 +0200)
python/book_latex.py

index 756bc2c651ded4249cf0e335dd4f253c34f17309..a47c950e248152e2f01158880e58d52cab835265 100644 (file)
@@ -189,7 +189,7 @@ def get_latex_textwidth (source, global_options):
 
     progress (_ ("Running `%s' on file `%s' to detect default page settings.\n")
               % (global_options.latex_program, tmpfile))
-    cmd = 'TEXINPUTS=%s:$TEXINPUTS %s %s' \
+    cmd = 'TEXINPUTS="%s:$TEXINPUTS" %s %s' \
         % (global_options.input_dir, global_options.latex_program, tmpfile)
     debug ("Executing: %s\n" % cmd)
     run_env = os.environ.copy()