Merge branch 'master' of git.lyx.org:lyx

This commit is contained in:
Juergen Spitzmueller 2012-08-16 18:04:28 +02:00
commit be0bed91e2

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) 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)); FileName tocheck = FileName(addName(dirname.absFileName(),pathname));
LYXERR(Debug::LYXVC, "check file: " << tocheck.absFileName()); LYXERR(Debug::LYXVC, "check file: " << tocheck.absFileName());
bool result = tocheck.exists(); bool result = tocheck.exists();