[LyX/master] ePub: quote all path names of the command
Stephan Witt
switt at lyx.org
Sun Feb 7 11:40:22 UTC 2021
commit f55efc6951038949e4b455e19f31a2ef07ef93c5
Author: Stephan Witt <switt at lyx.org>
Date: Sun Feb 7 12:42:17 2021 +0100
ePub: quote all path names of the command
---
lib/scripts/docbook2epub.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/scripts/docbook2epub.py b/lib/scripts/docbook2epub.py
index 9354b83..f5711be 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)
More information about the lyx-cvs
mailing list