]> git.lyx.org Git - features.git/commitdiff
configure.py: quote path to python
authorUwe Stöhr <uwestoehr@lyx.org>
Wed, 11 Feb 2015 20:52:36 +0000 (21:52 +0100)
committerUwe Stöhr <uwestoehr@lyx.org>
Wed, 11 Feb 2015 20:52:36 +0000 (21:52 +0100)
this fixes a path issue unveiled while inspecting bug #8478

lib/configure.py
status.21x

index 5fdd1e6aa0b198ad8ac165d5bba6a247781c7dca..f72f0a659c3effeade85b5980092db2dff76cc83 100644 (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")
 
index 845a5438feb7b3e272bec2c28e2cb6cc42ff3d91..5caca608a967e7a462abbf4dfe674969f12c812f 100644 (file)
@@ -93,3 +93,4 @@ What's new
 
 * BUILD/INSTALLATION
 
+- Fix a configuration error on Windows causing that TeX files were not scanned.