Merge pull request #8772 from JosJuice/create-backup-dir
Core: Call CreateFullPath before using Backup directory
This commit is contained in:
commit
165c2e3017
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue