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
This commit is contained in:
@@ -8,8 +8,10 @@
|
||||
|
||||
INCSGROUPS?= INCS
|
||||
|
||||
_INCSGROUPS= ${INCSGROUPS:C,[/*],_,g}
|
||||
|
||||
.if !target(buildincludes)
|
||||
.for group in ${INCSGROUPS}
|
||||
.for group in ${_INCSGROUPS}
|
||||
buildincludes: ${${group}}
|
||||
.endfor
|
||||
.endif
|
||||
@@ -19,7 +21,7 @@ all: buildincludes
|
||||
.endif
|
||||
|
||||
.if !target(installincludes)
|
||||
.for group in ${INCSGROUPS}
|
||||
.for group in ${_INCSGROUPS}
|
||||
.if defined(${group}) && !empty(${group})
|
||||
|
||||
${group}OWN?= ${BINOWN}
|
||||
|
||||
Reference in New Issue
Block a user