Disable the debug output which made exports using lyx2lyx fail

This commit is contained in:
Kornel Benko 2019-03-24 22:17:48 +01:00
parent 6b12a48a51
commit d49b5fdde3

View File

@ -1150,7 +1150,7 @@ void BufferParams::writeFile(ostream & os, Buffer const * buf) const
: addPath(package().system_support().realPath(), "");
string const relpath =
to_utf8(makeRelPath(from_utf8(filepath), from_utf8(sysdir)));
LYXERR0("docsys: " << docsys << ",build: " << package().build_support().realPath());
// LYXERR0("docsys: " << docsys << ",build: " << package().build_support().realPath());
if (!prefixIs(relpath, "../") && !FileName::isAbsolute(relpath))
filepath = (prefixIs(docsys, package().build_support().realPath())) ?
addPath("/buildlyxdir", relpath)