configure.py: quote path to python

this fixes a path issue unveiled while inspecting bug #8478
This commit is contained in:
Uwe Stöhr 2015-02-10 23:35:25 +01:00
parent c924692e5a
commit b2c761a7db

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