commit b2c761a7dbdcce59d7cf7a84e559db5ef1a423f3
Author: Uwe Stöhr <[email protected]>
Date:   Tue Feb 10 23:35:25 2015 +0100

    configure.py: quote path to python
    
    this fixes a path issue unveiled while inspecting bug #8478

diff --git a/lib/configure.py b/lib/configure.py
index 341c11f..82071dd 100644
--- a/lib/configure.py
+++ b/lib/configure.py
@@ -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")
 

Reply via email to