bazel: add missing symlink

Closes #48237.

Signed-off-by: Rui Chen <chenrui333@gmail.com>
This commit is contained in:
Alexander Bayandin 2019-12-23 16:48:39 +00:00 committed by Rui Chen
parent 18c53c7d03
commit aa6ff7b2bb

View file

@ -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"))