forked from Qortal/qortal
Create a cleaner base directory path, without the "/./"
This commit is contained in:
parent
4dff91a0e5
commit
045026431b
@ -468,7 +468,7 @@ public class Bootstrap {
|
||||
}
|
||||
|
||||
private Path createTempDirectory() throws IOException {
|
||||
String baseDir = Paths.get(".", "tmp").toAbsolutePath().toString();
|
||||
String baseDir = Paths.get(".", "tmp").toFile().getCanonicalPath();
|
||||
String identifier = UUID.randomUUID().toString();
|
||||
Path tempDir = Paths.get(baseDir, identifier);
|
||||
Files.createDirectories(tempDir);
|
||||
|
Loading…
x
Reference in New Issue
Block a user