From 3ed0dc700eee3261491d7aabd0768a1c10134abf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Sat, 3 Mar 2018 12:19:28 +0100 Subject: [PATCH] configure.py: add quotes around path to python fixes bug #11053 --- lib/configure.py | 3 ++- status.22x | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/configure.py b/lib/configure.py index 955eba0da8..de88d65ae3 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 d69a4f42ac..a860bd314f 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 -- 2.39.5