diff --git a/lib/configure.py b/lib/configure.py index 888cf9935e..49abf773e4 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -1777,8 +1777,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")