Skip to content

Commit debbf0c

Browse files
Nicolas Laurenteregon
authored andcommitted
fix jt install jvmci on macOS
1 parent 69dc4f1 commit debbf0c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tool/jt.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1957,8 +1957,9 @@ def install(name, *options)
19571957
**options
19581958
end
19591959

1960+
java_home = "#{java_home}/Contents/Home" if darwin?
19601961
java = "#{java_home}/bin/java"
1961-
abort "#{java_home} does not exist" unless File.executable?(java)
1962+
abort "#{java} does not exist" unless File.executable?(java)
19621963

19631964
java_home
19641965
end

0 commit comments

Comments
 (0)