From: Aaron Wood Date: Thu, 20 Jul 2017 16:03:30 +0000 (-0400) Subject: If we're on OS X then have Go cross compile for us X-Git-Url: https://git.halfball.org/?a=commitdiff_plain;h=bde614077102376ab3416a0502343ab79cbeadcb;p=plugins.git If we're on OS X then have Go cross compile for us --- diff --git a/build.sh b/build.sh index 9e816d2..cd21ba8 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"