]> git.lyx.org Git - features.git/blobdiff - lib/configure.py
configure.py: quote path to python
[features.git] / lib / configure.py
index 341c11f8acb901a607f9eb342858b0d86710d602..82071dd1be70e883c2ffeec07b3340aab821d023 100644 (file)
@@ -1462,7 +1462,7 @@ def rescanTeXFiles():
     if not os.path.isfile( os.path.join(srcdir, 'scripts', 'TeXFiles.py') ):
         logger.error("configure: error: cannot find TeXFiles.py script")
         sys.exit(1)
-    tfp = cmdOutput("python -tt " + os.path.join(srcdir, 'scripts', 'TeXFiles.py'))
+    tfp = cmdOutput("python -tt " + '"' + os.path.join(srcdir, 'scripts', 'TeXFiles.py') + '"')
     logger.info(tfp)
     logger.info("\tdone")