Skip to content

Commit

Permalink
Hacky attempt at fixing test. (bazelbuild#164)
Browse files Browse the repository at this point in the history
rules_go update in bazelbuild#159 broke the postsubmit.
  • Loading branch information
fweikert authored Sep 17, 2020
1 parent 827bcfe commit 079c993
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bazelisk_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ function bazelisk() {
"$(rlocation __main__/darwin_amd64_stripped/bazelisk)" "$@"
elif [[ -n $(rlocation __main__/linux_amd64_stripped/bazelisk) ]]; then
"$(rlocation __main__/linux_amd64_stripped/bazelisk)" "$@"
elif [[ -n $(rlocation __main__/bazelisk_/bazelisk) ]]; then
"$(rlocation __main__/bazelisk_/bazelisk)" "$@"
elif [[ -n $(rlocation __main__/bazelisk_/bazelisk.exe) ]]; then
"$(rlocation __main__/bazelisk_/bazelisk.exe)" "$@"
else
echo "Could not find the bazelisk executable, listing files:"
find .
Expand Down

0 comments on commit 079c993

Please sign in to comment.