We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ef2da0 commit 5379eaaCopy full SHA for 5379eaa
hack/setup-envtest.sh
@@ -66,8 +66,8 @@ function fetch_envtest_tools {
66
goarch="$(go env GOARCH)"
67
goos="$(go env GOOS)"
68
69
- if [[ "$goos" != "linux" && "$goos" != "darwin" ]]; then
70
- echo "OS '$goos' not supported. Aborting." >&2
+ if [[ ("$goos" != "linux" && "$goos" != "darwin") || ("$goos" == "darwin" && "$goarch" != "amd64") ]]; then
+ echo "OS '$goos' with '$goarch' arch is not supported. Aborting." >&2
71
return 1
72
fi
73
0 commit comments