Revert "Make sure to create entire path for directory, fixes #5429"

This reverts commit 77dd9eb8

This will completely break symlinks on linux.

Signed-off-by: cpw <cpw+github@weeksfamily.ca>
This commit is contained in:
cpw 2019-02-10 10:26:21 -05:00
parent 8084ca43b9
commit 64f69cf5c9
No known key found for this signature in database
GPG key ID: 8EB3DF749553B1B7

View file

@ -38,7 +38,7 @@ public class FileUtils
{
LOGGER.debug(CORE,"Making {} directory : {}", dirLabel, dirPath);
try {
Files.createDirectories(dirPath);
Files.createDirectory(dirPath);
} catch (IOException e) {
if (e instanceof FileAlreadyExistsException) {
LOGGER.fatal(CORE,"Failed to create {} directory - there is a file in the way", dirLabel);