Skip to content

Commit f16707d

Browse files
committed
Fix USER_FORK definition in Makefile
1 parent 9b401f1 commit f16707d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ RELEASE_NOTES_DIR := _releasenotes
529529
GIT_REPO_NAME ?= cluster-api-addon-provider-helm
530530
GIT_ORG_NAME ?= kubernetes-sigs
531531
USER_FORK ?= $(shell git config --get remote.origin.url | cut -d/ -f4) # only works on https://github.com/<username>/cluster-api-addon-provider-helm.git style URLs
532-
ifdef USER_FORK
532+
ifeq ($(USER_FORK),)
533533
USER_FORK := $(shell git config --get remote.origin.url | cut -d: -f2 | cut -d/ -f1) # for [email protected]:<username>/cluster-api-addon-provider-helm.git style URLs
534534
endif
535535
IMAGE_REVIEWERS ?= $(shell ./hack/get-project-maintainers.sh)

0 commit comments

Comments
 (0)