Bugfix: create all required sub directory for the cache dir
This commit is contained in:
@@ -225,8 +225,8 @@ public class Configuration {
|
|||||||
this.userHasSpecifiedACacheDir = true;
|
this.userHasSpecifiedACacheDir = true;
|
||||||
this.workingDirectory = new File(cache_dir_.getAbsolutePath() + File.separator + "sheepit");
|
this.workingDirectory = new File(cache_dir_.getAbsolutePath() + File.separator + "sheepit");
|
||||||
this.storageDirectory = new File(cache_dir_.getAbsolutePath() + File.separator + "sheepit_binary_cache");
|
this.storageDirectory = new File(cache_dir_.getAbsolutePath() + File.separator + "sheepit_binary_cache");
|
||||||
this.workingDirectory.mkdir();
|
this.workingDirectory.mkdirs();
|
||||||
this.storageDirectory.mkdir();
|
this.storageDirectory.mkdirs();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user