]> git.lyx.org Git - features.git/commitdiff
configure.py: add quotes around path to python
authorUwe Stöhr <uwestoehr@lyx.org>
Sat, 3 Mar 2018 11:19:28 +0000 (12:19 +0100)
committerUwe Stöhr <uwestoehr@lyx.org>
Sat, 3 Mar 2018 11:19:28 +0000 (12:19 +0100)
fixes bug #11053

lib/configure.py
status.22x

index 955eba0da8a8c04409ed2870950a3f86bcb405eb..de88d65ae337b23c07cd3da63a5fd008627cc8d3 100644 (file)
@@ -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")
 
index d69a4f42ac021b027e85d585c6d87ec0bfc60dc3..a860bd314fc81d519969a221e19d3071dddd75e1 100644 (file)
@@ -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