|
|
@ -45,7 +45,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\nwindows-386\nwindows-amd64" |
|
|
|
local supported="darwin-386\ndarwin-amd64\ndarwin-arm64\nlinux-386\nlinux-amd64\nlinux-arm\nlinux-arm64\nwindows-386\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 $REPO_URL" |
|
|
|
echo "To build from source, go to $REPO_URL" |
|
|
|