]> git.lyx.org Git - features.git/commitdiff
Fix bug #11636.
authorRichard Kimberly Heck <rikiheck@lyx.org>
Thu, 12 Sep 2019 00:54:42 +0000 (20:54 -0400)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Thu, 12 Sep 2019 00:54:42 +0000 (20:54 -0400)
Directories are created when files are copied, so we do not need
to do it prospectively here.

src/insets/InsetInclude.cpp

index 281051541bcb04083f3d42fd89a4a5efe0dc0cc1..0dead769395caaffd184f025bda69cc55772e486 100755 (executable)
@@ -572,7 +572,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)