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

This commit is contained in:
Aaron Wood committed 2017-07-20 12:03:30 -04:00
1 parent a714098daf
commit bde6140771
1 file changed
+4
+4
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"