]> git.lyx.org Git - features.git/commitdiff
configure.py: quote path to python
authorUwe Stöhr <uwestoehr@lyx.org>
Tue, 10 Feb 2015 22:35:25 +0000 (23:35 +0100)
committerUwe Stöhr <uwestoehr@lyx.org>
Tue, 10 Feb 2015 22:35:25 +0000 (23:35 +0100)
this fixes a path issue unveiled while inspecting bug #8478

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")