From bde614077102376ab3416a0502343ab79cbeadcb Mon Sep 17 00:00:00 2001 From: Aaron Wood Date: Thu, 20 Jul 2017 12:03:30 -0400 Subject: [PATCH] If we're on OS X then have Go cross compile for us --- build.sh | 4 ++++ 1 file changed, 4 insertions(+) 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"