forked from Qortal/qortal
Fixed issue with temp directory on Linux.
This commit is contained in:
parent
ace5d999e2
commit
8973626a4b
@ -197,7 +197,7 @@ public class WebsiteResource {
|
|||||||
}
|
}
|
||||||
|
|
||||||
String tempDirectory = System.getProperty("java.io.tmpdir");
|
String tempDirectory = System.getProperty("java.io.tmpdir");
|
||||||
String destPath = tempDirectory + "qortal-sites" + File.separator + resourceId;
|
String destPath = tempDirectory + File.separator + "qortal-sites" + File.separator + resourceId;
|
||||||
String unzippedPath = destPath + File.separator + "data";
|
String unzippedPath = destPath + File.separator + "data";
|
||||||
|
|
||||||
if (!Files.exists(Paths.get(unzippedPath))) {
|
if (!Files.exists(Paths.get(unzippedPath))) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user