From 50fd906f740aefaaa4869d14bed54a625ef66305 Mon Sep 17 00:00:00 2001 From: Christoph Blecker Date: Mon, 25 Jun 2018 15:45:14 -0700 Subject: [PATCH] Update vendored tool go install location to use GOPATH --- hack/lib/util.sh | 2 +- hack/verify-spelling.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/lib/util.sh b/hack/lib/util.sh index 7fec453f0ec..658efc85884 100755 --- a/hack/lib/util.sh +++ b/hack/lib/util.sh @@ -435,7 +435,7 @@ kube::util::ensure_godep_version() { fi kube::log::status "Installing godep version ${GODEP_VERSION}" - go install ./vendor/github.com/tools/godep/ + go install k8s.io/kubernetes/vendor/github.com/tools/godep/ if ! which godep >/dev/null 2>&1; then kube::log::error "Can't find godep - is your GOPATH 'bin' in your PATH?" kube::log::error " GOPATH: ${GOPATH}" diff --git a/hack/verify-spelling.sh b/hack/verify-spelling.sh index 27d92501d6a..a79778cece7 100755 --- a/hack/verify-spelling.sh +++ b/hack/verify-spelling.sh @@ -25,7 +25,7 @@ export GOBIN="${KUBE_OUTPUT_BINPATH}" PATH="${GOBIN}:${PATH}" # Install tools we need, but only from vendor/... -go install ./vendor/github.com/client9/misspell/cmd/misspell +go install k8s.io/kubernetes/vendor/github.com/client9/misspell/cmd/misspell # Spell checking # All the skipping files are defined in hack/.spelling_failures