Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.

Commit

Permalink
remove java home wrapper script
Browse files Browse the repository at this point in the history
Bazel uses an embedded JDK and does not need a
system JDK to run. This fix prevents a warning
from being printed if there is no system jdk
installed.
  • Loading branch information
buchgr committed Aug 26, 2018
1 parent f74c06d commit 151ef60
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bazel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ def install
system "./bazel-#{version}-installer-darwin-x86_64.sh", "--prefix=#{buildpath}"
bin.install 'lib/bazel/bin/bazel' => 'bazel'
bin.install 'lib/bazel/bin/bazel-real' => 'bazel-real'
bin.env_script_all_files(libexec / 'bin', Language::Java.overridable_java_home_env)
bash_completion.install 'lib/bazel/bin/bazel-complete.bash'
end

Expand Down

0 comments on commit 151ef60

Please sign in to comment.