configure.py: add quotes around path to python

fixes bug #11053
This commit is contained in:
Uwe Stöhr 2018-03-03 12:19:28 +01:00
parent 17544670de
commit 3ed0dc700e
2 changed files with 4 additions and 1 deletions

View File

@ -1530,7 +1530,8 @@ def rescanTeXFiles():
interpreter = sys.executable interpreter = sys.executable
if interpreter == '': if interpreter == '':
interpreter = "python" interpreter = "python"
tfp = cmdOutput(interpreter + " -tt " + '"' + os.path.join(srcdir, 'scripts', 'TeXFiles.py') + '"') tfp = cmdOutput('"%s" -tt "%s"' % (interpreter,\
os.path.join(srcdir, 'scripts', 'TeXFiles.py')))
logger.info(tfp) logger.info(tfp)
logger.info("\tdone") logger.info("\tdone")

View File

@ -75,6 +75,8 @@ What's new
- Fix issue with language nesting when using Asian languages (bug 10778). - Fix issue with language nesting when using Asian languages (bug 10778).
- Fix bug that TeX files were not detected when reconfigurng LyX (bug 11053).
* LYX2LYX * LYX2LYX