Update vendored tool go install location to use GOPATH

parent 2edd1070
...@@ -435,7 +435,7 @@ kube::util::ensure_godep_version() { ...@@ -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}" ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment