mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 23:15:14 +00:00
Fix hack/build-go.sh to work on all platforms
Currently the hack/build-go.sh build script does not work on OS X 10.9.x systems. This changes reverts back to building one binary via a for loop.
This commit is contained in:
parent
57b583e03d
commit
124b0e7ee6
@ -31,4 +31,7 @@ if [ $# -gt 0 ]; then
|
|||||||
BINARIES="$@"
|
BINARIES="$@"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
go build $(for b in $BINARIES; do echo "${KUBE_GO_PACKAGE}"/${b}; done)
|
for b in ${BINARIES}; do
|
||||||
|
echo "+++ Building ${b}"
|
||||||
|
go build "${KUBE_GO_PACKAGE}/${b}"
|
||||||
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user