aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.sites.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
index 3cf207059ba..6f367f2eb7e 100644
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -534,8 +534,8 @@ MASTER_SITE_GENTOO+= \
# default: not set, mandatory
#
.if defined(USE_GITHUB)
-.if ${GH_TAGNAME} == master || ${GH_COMMIT} == master
-BROKEN?= Using master as GH_TAGNAME or GH_COMMIT is invalid. \
+.if defined(GH_TAGNAME) && ${GH_TAGNAME} == master
+BROKEN?= Using master as GH_TAGNAME is invalid. \
Must use a version or commit hash so the upstream does\
not "reroll" as soon as the branch is updated
.endif