Skip to content

Commit

Permalink
Merge pull request #4768 from stevekuznetsov/skuznets/update-makefile
Browse files Browse the repository at this point in the history
✨  Makefile: handle $GOPATH with a trailing slash
  • Loading branch information
k8s-ci-robot authored Feb 7, 2024
2 parents 80bd9ec + 4a6b4d3 commit faf38c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit faf38c1

Please sign in to comment.