Skip to content

Commit

Permalink
find native-image
Browse files Browse the repository at this point in the history
  • Loading branch information
ianopolous committed Mar 25, 2024
1 parent 9bce4a7 commit 7a838f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion native-build/BuildNativeImage.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static void main(String[] a) throws Exception {
String extraDirs = OS.equals("darwin") ? "/Contents/Home" : "";

String ext = OS.equals("windows") ? ".exe" : "";
Optional<Path> nativeImage = Files.walk(Paths.get(""), 3)
Optional<Path> nativeImage = Files.walk(Paths.get(""), 5)
.filter(p -> p.getFileName().startsWith("native-image") && p.toFile().isFile())
.findFirst();
if (nativeImage.isEmpty())
Expand Down
2 changes: 1 addition & 1 deletion native-build/InstallNativeImage.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static void main(String[] a) throws Exception {
// install native-image
String binExt = OS.equals("windows") ? ".cmd" : "";

Optional<Path> nativeImage = Files.walk(Paths.get(""), 3)
Optional<Path> nativeImage = Files.walk(Paths.get(""), 5)
.filter(p -> p.getFileName().startsWith("native-image") && p.toFile().isFile())
.findFirst();

Expand Down

0 comments on commit 7a838f6

Please sign in to comment.