svn commit: r266226 - projects/bmake/share/mk

Simon J. Gerraty sjg at FreeBSD.org
Fri May 16 14:49:37 UTC 2014


Author: sjg
Date: Fri May 16 14:49:37 2014
New Revision: 266226
URL: http://svnweb.freebsd.org/changeset/base/266226

Log:
  There is no guarantee that user gid maps to a name so in etc/Makefile
  we want _gid to be id, so use _gn for the name.

Modified:
  projects/bmake/share/mk/bsd.own.mk

Modified: projects/bmake/share/mk/bsd.own.mk
==============================================================================
--- projects/bmake/share/mk/bsd.own.mk	Fri May 16 14:48:21 2014	(r266225)
+++ projects/bmake/share/mk/bsd.own.mk	Fri May 16 14:49:37 2014	(r266226)
@@ -140,10 +140,11 @@ _uid!=	id -u
 .if !defined(USER)
 USER!=	id -un
 .endif
-_gid!=	id -gn
+_gid!=	id -g
+_gn!=	id -gn
 .for x in BIN CONF DOC INFO KMOD LIB MAN NLS SHARE
 $xOWN=	${USER}
-$xGRP=	${_gid}
+$xGRP=	${_gn}
 .endfor
 .endif
 .endif


More information about the svn-src-projects mailing list