]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 3468: lilypond-book and spaces in application name
authorDavid Kastrup <dak@gnu.org>
Sun, 11 Aug 2013 11:45:05 +0000 (13:45 +0200)
committerDavid Kastrup <dak@gnu.org>
Sat, 17 Aug 2013 13:34:48 +0000 (15:34 +0200)
scripts/lilypond-book.py

index 6d424a18521c289991723363c7f04381dc8e042c..9c49508d7a85bfba912400108a31d345be678b97 100644 (file)
@@ -277,6 +277,11 @@ if 'bindir' in globals () and bindir:
 if '@bindir@' == ('@' + 'bindir@') or not os.path.exists (lilypond_binary):
     lilypond_binary = 'lilypond'
 
+# Need to shell-quote, issue 3468
+
+import pipes
+lilypond_binary = pipes.quote (lilypond_binary)
+
 global_options = None