If we're on OS X then have Go cross compile for us

This commit is contained in:
Aaron Wood
2017-07-20 12:03:30 -04:00
parent a714098daf
commit bde6140771

View File

@ -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"