Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2016 16:25:07 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r297354 - stable/10/share/mk
Message-ID:  <201603281625.u2SGP7Jv031037@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Mon Mar 28 16:25:07 2016
New Revision: 297354
URL: https://svnweb.freebsd.org/changeset/base/297354

Log:
  MFC r296585:
  
    These group names may be used as a cookie, so replace any non-fs-safe
    characters.

Modified:
  stable/10/share/mk/bsd.files.mk
  stable/10/share/mk/bsd.incs.mk
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/share/mk/bsd.files.mk
==============================================================================
--- stable/10/share/mk/bsd.files.mk	Mon Mar 28 16:24:10 2016	(r297353)
+++ stable/10/share/mk/bsd.files.mk	Mon Mar 28 16:25:07 2016	(r297354)
@@ -9,13 +9,15 @@ __<bsd.files.mk>__:
 
 FILESGROUPS?=	FILES
 
-.for group in ${FILESGROUPS}
+_FILESGROUPS=	${FILESGROUPS:C,[/*],_,g}
+
+.for group in ${_FILESGROUPS}
 buildfiles: ${${group}}
 .endfor
 
 all: buildfiles
 
-.for group in ${FILESGROUPS}
+.for group in ${_FILESGROUPS}
 .if defined(${group}) && !empty(${group})
 installfiles: installfiles-${group}
 

Modified: stable/10/share/mk/bsd.incs.mk
==============================================================================
--- stable/10/share/mk/bsd.incs.mk	Mon Mar 28 16:24:10 2016	(r297353)
+++ stable/10/share/mk/bsd.incs.mk	Mon Mar 28 16:25:07 2016	(r297354)
@@ -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
@@ -17,7 +19,7 @@ buildincludes: ${${group}}
 all: buildincludes
 
 .if !target(installincludes)
-.for group in ${INCSGROUPS}
+.for group in ${_INCSGROUPS}
 .if defined(${group}) && !empty(${group})
 
 ${group}OWN?=	${BINOWN}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603281625.u2SGP7Jv031037>