Revert last two commits, which we pushed accidentally.

This commit is contained in:
Richard Kimberly Heck 2019-09-11 20:46:33 -04:00
parent 1fb308cd02
commit a20f3a0d52

View File

@ -569,10 +569,11 @@ void InsetInclude::latex(otexstream & os, OutputParams const & runparams) const
from_utf8(masterBuffer->filePath()))); from_utf8(masterBuffer->filePath())));
} }
string const exppath = runparams.export_folder.empty() ? string exppath = incfile;
incfile : if (!runparams.export_folder.empty()) {
makeAbsPath(exppath, runparams.export_folder).realPath(); exppath = makeAbsPath(exppath, runparams.export_folder).realPath();
FileName(exppath).onlyPath().createPath(); FileName(exppath).onlyPath().createPath();
}
// write it to a file (so far the complete file) // write it to a file (so far the complete file)
string exportfile; string exportfile;