diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2016-03-09 22:45:00 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2016-03-09 22:45:00 +0000 |
commit | 17e75d1cd2654aaaeee52788cb3a4c3aa80f883f (patch) | |
tree | 6e35d9263b6e3c2d763efa36ffb3e374800eea10 /share/mk/bsd.confs.mk | |
parent | 95931790534ba9ac76d77882ca869012023dc122 (diff) | |
download | src-17e75d1cd2654aaaeee52788cb3a4c3aa80f883f.tar.gz src-17e75d1cd2654aaaeee52788cb3a4c3aa80f883f.zip |
These group names may be used as a cookie, so replace any non-fs-safe characters.
One example is in cddl/usr.sbin/dtrace/tests/common/aggs. It could be
fixed but other uses of this would break, especially in the
DIRDEPS_BUILD which uses the group names for stage cookies.
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Notes
Notes:
svn path=/head/; revision=296585
Diffstat (limited to 'share/mk/bsd.confs.mk')
-rw-r--r-- | share/mk/bsd.confs.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/share/mk/bsd.confs.mk b/share/mk/bsd.confs.mk index 20a97824fdfd..6fe2ad29bb4b 100644 --- a/share/mk/bsd.confs.mk +++ b/share/mk/bsd.confs.mk @@ -6,8 +6,10 @@ CONFGROUPS?= CONFS +_CONFGROUPS= ${CONFGROUPS:C,[/*],_,g} + .if !target(buildconfig) -.for group in ${CONFGROUPS} +.for group in ${_CONFGROUPS} buildconfig: ${${group}} .endfor .endif @@ -17,7 +19,7 @@ all: buildconfig .endif .if !target(installconfig) -.for group in ${CONFGROUPS} +.for group in ${_CONFGROUPS} .if defined(${group}) && !empty(${group}) ${group}OWN?= ${SHAREOWN} |