Skip to content
Permalink
Browse files
Merge pull request #8772 from JosJuice/create-backup-dir
Core: Call CreateFullPath before using Backup directory
  • Loading branch information
JMC47 committed Apr 28, 2020
2 parents 401b582 + 95a0897 commit 165c2e3
Showing 1 changed file with 2 additions and 0 deletions.
@@ -39,6 +39,8 @@ static bool CopyBackupFile(const std::string& path_from, const std::string& path
if (!File::Exists(path_from))
return false;

File::CreateFullPath(path_to);

return File::Copy(path_from, path_to);
}

0 comments on commit 165c2e3

Please sign in to comment.