summaryrefslogtreecommitdiff
path: root/Mk/bsd.sites.mk
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2018-03-05 08:29:33 +0000
committerMathieu Arnold <mat@FreeBSD.org>2018-03-05 08:29:33 +0000
commit9bd482e3bb4acb4901a033922fead69f0d20f2b4 (patch)
tree13c4686bf00bda247890e532573bb2c985dc46db /Mk/bsd.sites.mk
parentwww/py-pywikibot: Update to 3.0.20180304 (diff)
Fix a regression on 10.3 introduced in r463301.
PR: 226221 Reported by: mmokhi Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=463628
Diffstat (limited to 'Mk/bsd.sites.mk')
-rw-r--r--Mk/bsd.sites.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
index 3d25a496754a..cc99e6257332 100644
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -489,7 +489,7 @@ WRKSRC_${_group}:= ${WRKDIR}/${GH_PROJECT_${_group}}-${GH_TAGNAME_${_group}_EXTR
# In order to sort the subdir extraction so that foo/bar is moved in before
# foo/bar/baz, we count the number of / in the path and use it to order the
# targets. This handles up to 9 levels. The max as of r463123 is 4.
-_SITES_extract:= ${_SITES_extract} 69${GH_SUBDIR_${_group}:C=[^/]+= =g:range:[-1]}:post-extract-gh-${_group}
+_SITES_extract:= ${_SITES_extract} 69${GH_SUBDIR_${_group}:C=[^/]+= =g:[#]}:post-extract-gh-${_group}
post-extract-gh-${_group}:
@${RMDIR} ${WRKSRC}/${GH_SUBDIR_${_group}} 2>/dev/null || :
@${MKDIR} ${WRKSRC}/${GH_SUBDIR_${_group}:H} 2>/dev/null || :