commit 3ed0dc700eee3261491d7aabd0768a1c10134abf
Author: Uwe Stöhr <uwesto...@lyx.org>
Date:   Sat Mar 3 12:19:28 2018 +0100

    configure.py: add quotes around path to python
    
    fixes bug #11053
---
 lib/configure.py |    3 ++-
 status.22x       |    2 ++
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/lib/configure.py b/lib/configure.py
index 955eba0..de88d65 100644
--- a/lib/configure.py
+++ b/lib/configure.py
@@ -1530,7 +1530,8 @@ def rescanTeXFiles():
     interpreter = sys.executable
     if interpreter == '':
         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("\tdone")
 
diff --git a/status.22x b/status.22x
index d69a4f4..a860bd3 100644
--- a/status.22x
+++ b/status.22x
@@ -75,6 +75,8 @@ What's new
 
 - 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
 

Reply via email to