diff --git a/Formula/bazel.rb b/Formula/bazel.rb index d9179d77a4..c27cfd65e2 100644 --- a/Formula/bazel.rb +++ b/Formula/bazel.rb @@ -3,6 +3,7 @@ class Bazel < Formula homepage "https://bazel.build/" url "https://github.com/bazelbuild/bazel/releases/download/2.0.0/bazel-2.0.0-dist.zip" sha256 "724da3c656f68e787a86ebb9844773aa1c2e3a873cc39462a8f1b336153d6cbb" + revision 1 bottle do cellar :any_skip_relocation @@ -35,6 +36,7 @@ class Bazel < Formula "scripts:bash_completion" bin.install "scripts/packages/bazel.sh" => "bazel" + ln_s bin/"bazel", bin/"bazel-#{version}" (libexec/"bin").install "output/bazel" => "bazel-real" bin.env_script_all_files(libexec/"bin", Language::Java.java_home_env("1.8"))