mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 09:11:26 +01:00
Fix when bundler directory is a symlink
By: md_5 <git@md-5.net>
This commit is contained in:
parent
05d379a339
commit
d07de3d840
@ -34,7 +34,9 @@ public class Main {
|
|||||||
|
|
||||||
String repoDir = System.getProperty("bundlerRepoDir", "bundler");
|
String repoDir = System.getProperty("bundlerRepoDir", "bundler");
|
||||||
Path outputDir = Paths.get(repoDir).toAbsolutePath();
|
Path outputDir = Paths.get(repoDir).toAbsolutePath();
|
||||||
Files.createDirectories(outputDir);
|
if (!Files.isDirectory(outputDir)) {
|
||||||
|
Files.createDirectories(outputDir);
|
||||||
|
}
|
||||||
|
|
||||||
System.out.println("Unbundling libraries to " + outputDir);
|
System.out.println("Unbundling libraries to " + outputDir);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user