mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 21:56:22 +00:00
feat(Tools): Automatically create directories for tools (#11540)
* . * .
This commit is contained in:
committed by
GitHub
parent
b7be09e96c
commit
ad8f8ee5a5
@@ -56,8 +56,7 @@ bool checkDirectories(bool debugOutput)
|
||||
dirFiles.clear();
|
||||
if (getDirContents(dirFiles, "mmaps") == LISTFILE_DIRECTORY_NOT_FOUND)
|
||||
{
|
||||
printf("'mmaps' directory does not exist\n");
|
||||
return false;
|
||||
return boost::filesystem::create_directory("mmaps");
|
||||
}
|
||||
|
||||
dirFiles.clear();
|
||||
|
||||
Reference in New Issue
Block a user