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-11 21:52:36 +01:00
parent 2d2c0a99c3
commit 6cd6de3eb5
2 changed files with 2 additions and 1 deletions

View File

@ -1460,7 +1460,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")

View File

@ -93,3 +93,4 @@ What's new
* BUILD/INSTALLATION
- Fix a configuration error on Windows causing that TeX files were not scanned.