From f55efc6951038949e4b455e19f31a2ef07ef93c5 Mon Sep 17 00:00:00 2001 From: Stephan Witt Date: Sun, 7 Feb 2021 12:42:17 +0100 Subject: [PATCH] ePub: quote all path names of the command --- lib/scripts/docbook2epub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/scripts/docbook2epub.py b/lib/scripts/docbook2epub.py index 9354b83e49..f5711be1be 100644 --- a/lib/scripts/docbook2epub.py +++ b/lib/scripts/docbook2epub.py @@ -39,7 +39,7 @@ if __name__ == '__main__': xslt = script_folder + 'docbook/epub3/chunk.xsl' saxon_jar = script_folder + 'scripts/saxon6.5.5.jar' saxon_params = 'base.dir=%s' % output_dir - command = '"' + java_path + '" -jar "' + saxon_jar + '" ' + input + ' ' + xslt + ' ' + saxon_params + command = '"' + java_path + '" -jar "' + saxon_jar + '" "' + input + '" "' + xslt + '" "' + saxon_params + '"' print('XSLT style sheet to use:') print(xslt)