From 124b0e7ee68e61c39db96a075f08d40c835acb0e Mon Sep 17 00:00:00 2001 From: Kelsey Hightower Date: Sat, 26 Jul 2014 15:23:28 -0700 Subject: [PATCH] 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. --- hack/build-go.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hack/build-go.sh b/hack/build-go.sh index 892419ce01af1..00b5a40c263d7 100755 --- a/hack/build-go.sh +++ b/hack/build-go.sh @@ -31,4 +31,7 @@ if [ $# -gt 0 ]; then BINARIES="$@" fi -go build $(for b in $BINARIES; do echo "${KUBE_GO_PACKAGE}"/${b}; done) \ No newline at end of file +for b in ${BINARIES}; do + echo "+++ Building ${b}" + go build "${KUBE_GO_PACKAGE}/${b}" +done