Skip to content

Commit

Permalink
Fix hack/build-go.sh to work on all platforms
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kelseyhightower committed Jul 26, 2014
1 parent 57b583e commit 124b0e7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion hack/build-go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,7 @@ if [ $# -gt 0 ]; then
BINARIES="$@"
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

0 comments on commit 124b0e7

Please sign in to comment.