]> git.lyx.org Git - features.git/commitdiff
Package.cpp: correctly quote configure call
authorUwe Stöhr <uwestoehr@lyx.org>
Fri, 31 May 2013 02:23:40 +0000 (04:23 +0200)
committerUwe Stöhr <uwestoehr@lyx.org>
Fri, 31 May 2013 02:23:40 +0000 (04:23 +0200)
- fixes bug #8711

src/support/Package.cpp

index 24cf8ca96bfdc02c29a3a4e60d1594ac1d4b87d9..5c6b3059e1272894f85009798065627cdb80e28a 100644 (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'