From fa135fa4a689687b685ed042af7a37edb0ee328f Mon Sep 17 00:00:00 2001 From: Christoph Blecker Date: Tue, 28 Feb 2017 20:17:55 -0800 Subject: [PATCH] Fix godep race in local builds --- hack/lib/util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/lib/util.sh b/hack/lib/util.sh index dd3de6d49b8..3858fa7db39 100755 --- a/hack/lib/util.sh +++ b/hack/lib/util.sh @@ -470,7 +470,7 @@ kube::util::ensure_godep_version() { kube::util::ensure-temp-dir mkdir -p "${KUBE_TEMP}/go/src" - GOPATH="${KUBE_TEMP}/go" go get -u github.com/tools/godep 2>/dev/null + GOPATH="${KUBE_TEMP}/go" go get -d -u github.com/tools/godep 2>/dev/null pushd "${KUBE_TEMP}/go/src/github.com/tools/godep" >/dev/null git checkout "${1:-v74}" GOPATH="${KUBE_TEMP}/go" go install .