diff --git a/Makefile b/Makefile index ffc9b356b..d3ae57b2f 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,9 @@ # See the License for the specific language governing permissions and # limitations under the License. +# Ensure GOBIN is not set during build so that promu is installed to the correct path +unexport GOBIN + GO ?= go GOFMT ?= $(GO)fmt FIRST_GOPATH := $(firstword $(subst :, ,$(shell $(GO) env GOPATH)))