From bd0d2ed5b2631e489b2902f9ddac50e0546cced5 Mon Sep 17 00:00:00 2001 From: Richard Kimberly Heck Date: Wed, 11 Sep 2019 20:54:42 -0400 Subject: [PATCH] Fix bug #11636. Directories are created when files are copied, so we do not need to do it prospectively here. (cherry picked from commit 05a446b77c5eaeb8ba1982d900bd3ad6f6689139) --- src/insets/InsetInclude.cpp | 1 - status.23x | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/insets/InsetInclude.cpp b/src/insets/InsetInclude.cpp index 19fbeae516..9c00bbaa34 100644 --- a/src/insets/InsetInclude.cpp +++ b/src/insets/InsetInclude.cpp @@ -537,7 +537,6 @@ void InsetInclude::latex(otexstream & os, OutputParams const & runparams) const string exppath = incfile; if (!runparams.export_folder.empty()) { exppath = makeAbsPath(exppath, runparams.export_folder).realPath(); - FileName(exppath).onlyPath().createPath(); } // write it to a file (so far the complete file) diff --git a/status.23x b/status.23x index 7f4232e45e..b32797a362 100644 --- a/status.23x +++ b/status.23x @@ -105,6 +105,9 @@ What's new - Fix LaTeX error with Canadian French as second language. LyX now uses the (recommended) babel option "acadian" rather than "canadien". +- Do not create unnecessary directories when exporting from the command + line (bug 11636). + * USER INTERFACE -- 2.39.5