mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
ensure VCS::checkparentdirs() starts with an absolute path (ticket #8295)
This commit is contained in:
parent
869b84aef9
commit
2ecc895775
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user