Skip to content

Commit d0d9015

Browse files
committed
[GR-17457] Fix jt install jvmci on macOS.
PullRequest: truffleruby/2165
2 parents 4460362 + debbf0c commit d0d9015

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
@@ -1956,8 +1956,9 @@ def install(name, *options)
19561956
**options
19571957
end
19581958

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

19621963
java_home
19631964
end

0 commit comments

Comments
 (0)