Merge branch 'master' of git.lyx.org:lyx

This commit is contained in:
José Matos 2018-12-29 19:24:59 +00:00
commit 8663a371f3

View File

@ -933,9 +933,9 @@ FileName const unzipFile(FileName const & zipped_file, string const & unzipped_f
unzippedFileName(zipped_file.toFilesystemEncoding()) :
unzipped_file);
// Run gunzip
string const command = "gunzip -c " +
zipped_file.toFilesystemEncoding() + " > " +
tempfile.toFilesystemEncoding();
string const command = "gunzip -c \"" +
zipped_file.toFilesystemEncoding() + "\" > \"" +
tempfile.toFilesystemEncoding() + "\"";
Systemcall one;
one.startscript(Systemcall::Wait, command);
// test that command was executed successfully (anon)