explicitly set GOBIN based on GOPATH in case it is set externally
parent
a5a666c1c4
commit
75df2a99b4
3
Makefile
3
Makefile
|
|
@ -30,7 +30,6 @@ else
|
||||||
GOPATH := $(shell pwd)/_gopath
|
GOPATH := $(shell pwd)/_gopath
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
# Use system python if it exists, otherwise use Docker.
|
# Use system python if it exists, otherwise use Docker.
|
||||||
PYTHON := $(shell command -v python || echo "docker run --rm -it -v $(shell pwd):/minikube -w /minikube python python")
|
PYTHON := $(shell command -v python || echo "docker run --rm -it -v $(shell pwd):/minikube -w /minikube python python")
|
||||||
BUILD_OS := $(shell uname -s)
|
BUILD_OS := $(shell uname -s)
|
||||||
|
|
@ -80,7 +79,7 @@ pkg/minikube/cluster/assets.go: out/localkube $(GOPATH)/bin/go-bindata deploy/is
|
||||||
|
|
||||||
$(GOPATH)/bin/go-bindata:
|
$(GOPATH)/bin/go-bindata:
|
||||||
$(MKGOPATH)
|
$(MKGOPATH)
|
||||||
go get github.com/jteeuwen/go-bindata/...
|
GOBIN=$(GOPATH)/bin go get github.com/jteeuwen/go-bindata/...
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(GOPATH)
|
rm -rf $(GOPATH)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue