summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutil.cpp')
-rw-r--r--rbutil/rbutil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutil.cpp b/rbutil/rbutil.cpp
index 7591408022..332bb0a0ae 100644
--- a/rbutil/rbutil.cpp
+++ b/rbutil/rbutil.cpp
@@ -256,7 +256,7 @@ int UnzipFile(wxString src, wxString destdir, bool isInstall)
if (entry->IsDir() ) {
wxDir* dirname = new wxDir(in_str);
if (! dirname->Exists(in_str) ) {
- if (wxMkDir(in_str) ) {
+ if (wxMkDir(in_str, 0777) ) {
buf.Printf(_("Unable to create directory %s"),
in_str.c_str() );
errnum = 100;