summaryrefslogtreecommitdiffstats
path: root/source/cMakeDir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/cMakeDir.cpp')
-rw-r--r--source/cMakeDir.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cMakeDir.cpp b/source/cMakeDir.cpp
index a4d62afdd..60817d5aa 100644
--- a/source/cMakeDir.cpp
+++ b/source/cMakeDir.cpp
@@ -17,8 +17,8 @@ void cMakeDir::MakeDir( const char* a_Directory )
Attrib.nLength = sizeof(SECURITY_ATTRIBUTES);
Attrib.lpSecurityDescriptor = NULL;
Attrib.bInheritHandle = false;
- ::CreateDirectory("world", &Attrib);
+ ::CreateDirectory(a_Directory, &Attrib);
#else
- mkdir("world", S_IRWXU | S_IRWXG | S_IRWXO);
+ mkdir(a_Directory, S_IRWXU | S_IRWXG | S_IRWXO);
#endif
} \ No newline at end of file