Update vendored tool go install location to use GOPATH

This commit is contained in:
Christoph Blecker 2018-06-25 15:45:14 -07:00
parent 2edd10709c
commit 50fd906f74
No known key found for this signature in database
GPG Key ID: B34A59A9D39F838B
2 changed files with 2 additions and 2 deletions

View File

@ -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}"

View File

@ -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