File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -28,14 +28,12 @@ if [[ ! -d "${KUBE_ROOT}/pkg" ]]; then
28
28
exit 1
29
29
fi
30
30
31
- # kube::golang::build_kube_toolchain installs the vendored go-bindata in
32
- # $GOPATH/bin, so make sure that's explicitly part of our $PATH.
33
- export PATH=" ${KUBE_OUTPUT_BINPATH } :${PATH} "
31
+ # Ensure that we find the binaries we build before anything else.
32
+ export GOBIN= " ${KUBE_OUTPUT_BINPATH} "
33
+ PATH=" ${GOBIN } :${PATH} "
34
34
35
- if ! which go-bindata & > /dev/null ; then
36
- echo " Cannot find go-bindata."
37
- exit 5
38
- fi
35
+ # Install tools we need, but only from vendor/...
36
+ go install k8s.io/kubernetes/vendor/github.com/go-bindata/go-bindata/...
39
37
40
38
# run the generation from the root directory for stable output
41
39
pushd " ${KUBE_ROOT} " > /dev/null
You can’t perform that action at this time.
0 commit comments