diff --git a/Makefile b/Makefile index b43f76940c..06eae3f99c 100644 --- a/Makefile +++ b/Makefile @@ -76,7 +76,7 @@ DOCKER_BUILDKIT=1 export ACK_GINKGO_DEPRECATIONS := 1.16.4 # Set --output-base for conversion-gen if we are not within GOPATH -ifneq ($(abspath $(REPO_ROOT)),$(shell go env GOPATH)/src/sigs.k8s.io/cluster-api-provider-aws) +ifneq ($(abspath $(REPO_ROOT)),$(abspath $(shell go env GOPATH)/src/sigs.k8s.io/cluster-api-provider-aws)) GEN_OUTPUT_BASE := --output-base=$(REPO_ROOT) else export GOPATH := $(shell go env GOPATH)