diff options
author | sjg <sjg@FreeBSD.org> | 2014-05-16 14:49:37 +0000 |
---|---|---|
committer | sjg <sjg@FreeBSD.org> | 2014-05-16 14:49:37 +0000 |
commit | 4a21c5ac3e708e301c4578d449e667d9c121230b (patch) | |
tree | e700f0503e88db4d0f8f205200aa5cdf0d453e2b | |
parent | aa628f3a574c7031d555f02aa06bb201e548cee4 (diff) | |
download | FreeBSD-src-4a21c5ac3e708e301c4578d449e667d9c121230b.zip FreeBSD-src-4a21c5ac3e708e301c4578d449e667d9c121230b.tar.gz |
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.
-rw-r--r-- | share/mk/bsd.own.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index 952ca21..606bb3c 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -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 |