Skip to content

Commit

Permalink
fix install bazel script
Browse files Browse the repository at this point in the history
  • Loading branch information
fsx950223 committed Oct 13, 2023
1 parent fd0ae4d commit e6c89eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/install_deps/install_bazelisk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ case "$(uname -s)" in
esac

mkdir -p "${output_dir}"
curl -LO "https://github.com/bazelbuild/bazelisk/releases/download/v1.3.0/${name}"

curl -LO "https://github.com/bazelbuild/bazelisk/releases/download/v1.18.0/${name}"
chmod u+x ${name}
./${name} --version
mv "${name}" "${output_dir}/bazel"
chmod u+x "${output_dir}/bazel"

if [[ ! ":$PATH:" =~ :${output_dir}/?: ]]; then
PATH="${output_dir}:$PATH"
Expand Down

0 comments on commit e6c89eb

Please sign in to comment.