]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/lilypond-book.py
scripts: improve strip-whitespace.py
[lilypond.git] / 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