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:
Enji Cooper 2016-04-30 21:32:29 +00:00
parent ab9604e1bb
commit f2a5d14c4a

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