mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Fix bug #11636.
Directories are created when files are copied, so we do not need
to do it prospectively here.
(cherry picked from commit 05a446b77c
)
This commit is contained in:
parent
f838b16a9b
commit
bd0d2ed5b2
@ -537,7 +537,6 @@ void InsetInclude::latex(otexstream & os, OutputParams const & runparams) const
|
|||||||
string exppath = incfile;
|
string exppath = incfile;
|
||||||
if (!runparams.export_folder.empty()) {
|
if (!runparams.export_folder.empty()) {
|
||||||
exppath = makeAbsPath(exppath, runparams.export_folder).realPath();
|
exppath = makeAbsPath(exppath, runparams.export_folder).realPath();
|
||||||
FileName(exppath).onlyPath().createPath();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// write it to a file (so far the complete file)
|
// write it to a file (so far the complete file)
|
||||||
|
@ -105,6 +105,9 @@ What's new
|
|||||||
- Fix LaTeX error with Canadian French as second language. LyX now uses
|
- Fix LaTeX error with Canadian French as second language. LyX now uses
|
||||||
the (recommended) babel option "acadian" rather than "canadien".
|
the (recommended) babel option "acadian" rather than "canadien".
|
||||||
|
|
||||||
|
- Do not create unnecessary directories when exporting from the command
|
||||||
|
line (bug 11636).
|
||||||
|
|
||||||
|
|
||||||
* USER INTERFACE
|
* USER INTERFACE
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user