From b446d0aa0aa2bd3d87028b0543752eb539507481 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Mon, 30 Oct 2017 16:37:50 -0400 Subject: Fixed GOPATH in makefile to prevent make mock-store from rewriting mattermost-server imports (#7743) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 60ca5b23c..4b0dad504 100644 --- a/Makefile +++ b/Makefile @@ -273,7 +273,7 @@ gofmt: store-mocks: go get github.com/vektra/mockery/... - $(shell go env GOPATH)/bin/mockery -dir store -all -output store/storetest/mocks -note 'Regenerate this file using `make store-mocks`.' + GOPATH=$(shell go env GOPATH) $(shell go env GOPATH)/bin/mockery -dir store -all -output store/storetest/mocks -note 'Regenerate this file using `make store-mocks`.' check-licenses: ./scripts/license-check.sh $(TE_PACKAGES) $(EE_PACKAGES) -- cgit v1.2.3-1-g7c22