Package.cpp: correctly quote configure call

- fixes bug #8711
This commit is contained in:
Uwe Stöhr 2013-05-31 04:23:40 +02:00
parent 2f38fe8649
commit bf7af9fd07

View File

@ -141,7 +141,8 @@ Package::Package(string const & command_line_arg0,
FileName const configure_script(addName(system_support().absFileName(), "configure.py"));
configure_command_ = os::python() + ' ' +
quoteName(configure_script.toFilesystemEncoding(), quote_python) +
with_version_suffix() + " --binary-dir=" + binary_dir().absFileName();
with_version_suffix() + " --binary-dir=" +
quoteName(binary_dir().absFileName(), quote_python);
LYXERR(Debug::INIT, "<package>\n"
<< "\tbinary_dir " << binary_dir().absFileName() << '\n'