feat(Tools): Automatically create directories for tools (#11540)
* . * .
This commit is contained in:
parent
b7be09e96c
commit
ad8f8ee5a5
3 changed files with 14 additions and 7 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue