diff --git a/build.sh b/build.sh index 9e816d2d..cd21ba8c 100755 --- a/build.sh +++ b/build.sh @@ -1,6 +1,10 @@ #!/usr/bin/env bash set -e +if [ "$(uname)" == "Darwin" ]; then + export GOOS=linux +fi + ORG_PATH="github.com/containernetworking" export REPO_PATH="${ORG_PATH}/plugins"