mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Update vendored tool go install location to use GOPATH
This commit is contained in:
parent
2edd10709c
commit
50fd906f74
@ -435,7 +435,7 @@ kube::util::ensure_godep_version() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
kube::log::status "Installing godep version ${GODEP_VERSION}"
|
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
|
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 "Can't find godep - is your GOPATH 'bin' in your PATH?"
|
||||||
kube::log::error " GOPATH: ${GOPATH}"
|
kube::log::error " GOPATH: ${GOPATH}"
|
||||||
|
@ -25,7 +25,7 @@ export GOBIN="${KUBE_OUTPUT_BINPATH}"
|
|||||||
PATH="${GOBIN}:${PATH}"
|
PATH="${GOBIN}:${PATH}"
|
||||||
|
|
||||||
# Install tools we need, but only from vendor/...
|
# 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
|
# Spell checking
|
||||||
# All the skipping files are defined in hack/.spelling_failures
|
# All the skipping files are defined in hack/.spelling_failures
|
||||||
|
Loading…
Reference in New Issue
Block a user