|
|
@ -60,7 +60,7 @@ runAsRoot() {
|
|
|
|
# verifySupported checks that the os/arch combination is supported for
|
|
|
|
# verifySupported checks that the os/arch combination is supported for
|
|
|
|
# binary builds.
|
|
|
|
# binary builds.
|
|
|
|
verifySupported() {
|
|
|
|
verifySupported() {
|
|
|
|
local supported="darwin-386\ndarwin-amd64\nlinux-386\nlinux-amd64\nlinux-arm\nlinux-arm64\nlinux-ppc64le\nlinux-s390x\nwindows-386\nwindows-amd64"
|
|
|
|
local supported="darwin-amd64\nlinux-386\nlinux-amd64\nlinux-arm\nlinux-arm64\nlinux-ppc64le\nlinux-s390x\nwindows-amd64"
|
|
|
|
if ! echo "${supported}" | grep -q "${OS}-${ARCH}"; then
|
|
|
|
if ! echo "${supported}" | grep -q "${OS}-${ARCH}"; then
|
|
|
|
echo "No prebuilt binary for ${OS}-${ARCH}."
|
|
|
|
echo "No prebuilt binary for ${OS}-${ARCH}."
|
|
|
|
echo "To build from source, go to https://github.com/helm/helm"
|
|
|
|
echo "To build from source, go to https://github.com/helm/helm"
|
|
|
|