Allow FILESGROUPS to be specified more than once by pruning out duplicates

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
ngie 2016-04-30 21:32:29 +00:00
parent cfbfb8c551
commit 7d813ee6e0

View File

@ -9,7 +9,7 @@ __<bsd.files.mk>__:
FILESGROUPS?= FILES
_FILESGROUPS= ${FILESGROUPS:C,[/*],_,g}
_FILESGROUPS= ${FILESGROUPS:C,[/*],_,g:u}
.for group in ${_FILESGROUPS}
# Add in foo.yes and remove duplicates from all the groups