summaryrefslogtreecommitdiff
path: root/src/main/java/org/eu/zajc/crab/ResourcesRoot.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/eu/zajc/crab/ResourcesRoot.java')
-rw-r--r--src/main/java/org/eu/zajc/crab/ResourcesRoot.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/eu/zajc/crab/ResourcesRoot.java b/src/main/java/org/eu/zajc/crab/ResourcesRoot.java
index a9e2681..886bd83 100644
--- a/src/main/java/org/eu/zajc/crab/ResourcesRoot.java
+++ b/src/main/java/org/eu/zajc/crab/ResourcesRoot.java
@@ -71,7 +71,7 @@ public class ResourcesRoot {
71 } 71 }
72 72
73 public void initializeAll() throws IOException { 73 public void initializeAll() throws IOException {
74 if (!getFile().isDirectory() && !getFile().createNewFile()) 74 if (!getFile().isDirectory() && !getFile().mkdirs())
75 throw new IOException(getFile().toString() + File.separator + 75 throw new IOException(getFile().toString() + File.separator +
76 " does not exist (or is not a directory), and can not be created."); 76 " does not exist (or is not a directory), and can not be created.");
77 if (!getFile().canRead()) 77 if (!getFile().canRead())