aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2021-06-01 07:02:35 +0000
committerMathieu Arnold <mat@FreeBSD.org>2021-06-01 07:15:49 +0000
commitbad84b3403f35e38153b86976e46a29ea1c30c9b (patch)
treec19dd99d9199726349e7b4b6cbca9c075f0f5118 /Mk
parentcf587835b40724f7587e755c8b2f8184dbc41d4b (diff)
downloadports-bad84b3403f35e38153b86976e46a29ea1c30c9b.tar.gz
ports-bad84b3403f35e38153b86976e46a29ea1c30c9b.zip
Mk/bsd.port.mk: Ignore @ in path in _FLAVOR_RECURSIVE_SH.
While no port will ever have an @ in their path name, it might be possible that PORTSDIR has an @ somewhere in its path. PR: 256301 Differential Revision: https://reviews.freebsd.org/D30579
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 13785ff0f234..93318b02d332 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -4085,6 +4085,7 @@ _FLAVOR_RECURSIVE_SH= \
for dir in $${recursive_dirs}; do \
unset flavor; \
case $${dir} in \
+ *@*/*) ;; \
*@*) \
flavor=$${dir\#*@}; \
dir=$${dir%@*}; \