Possible fix for build failure

This commit is contained in:
BoykoAlex
2018-11-07 17:15:23 -05:00
parent 9428e96cfc
commit a6530dc5c6

View File

@@ -41,7 +41,8 @@ public class BootProjectUtil {
public static Path javaHomeFromLibJar(Path libJar) {
for (Path home = libJar; home.getParent() != null; home = home.getParent()) {
if (Files.exists(home.resolve("release")) || Files.exists(home.resolve("release.txt"))) {
if (Files.exists(home.resolve("release")) || Files.exists(home.resolve("release.txt"))
|| Files.exists(home.resolve("RELEASE.html"))) {
return home;
}
}