ensure VCS::checkparentdirs() starts with an absolute path (ticket #8295)

This commit is contained in:
Stephan Witt 2012-08-16 13:44:20 +02:00
parent 869b84aef9
commit 2ecc895775

View File

@ -100,7 +100,7 @@ bool VCS::makeRCSRevision(string const &version, string &revis) const
bool VCS::checkparentdirs(FileName const & file, std::string const & pathname)
{
FileName dirname = file.onlyPath();
FileName dirname = FileName(file.absFileName()).onlyPath();
FileName tocheck = FileName(addName(dirname.absFileName(),pathname));
LYXERR(Debug::LYXVC, "check file: " << tocheck.absFileName());
bool result = tocheck.exists();