Merge pull request #44 from verizonlabs/build-on-osx
If we're on OS X then have Go cross compile for us
This commit is contained in:
commit
20bc33abc5
4
build.sh
4
build.sh
@ -1,6 +1,10 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
if [ "$(uname)" == "Darwin" ]; then
|
||||||
|
export GOOS=linux
|
||||||
|
fi
|
||||||
|
|
||||||
ORG_PATH="github.com/containernetworking"
|
ORG_PATH="github.com/containernetworking"
|
||||||
export REPO_PATH="${ORG_PATH}/plugins"
|
export REPO_PATH="${ORG_PATH}/plugins"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user