aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/scripts
diff options
context:
space:
mode:
authornbm <nbm@FreeBSD.org>2001-11-18 19:19:39 +0800
committernbm <nbm@FreeBSD.org>2001-11-18 19:19:39 +0800
commit6647a93fb957d77af9cf6dbc59c054c83b434150 (patch)
treef5a8bb76ca26c4df569164679dbecec5efe5cbf5 /Tools/scripts
parentfe2574f407c26f9649bda2136ea2bfe1fb7b88d4 (diff)
downloadfreebsd-ports-gnome-6647a93fb957d77af9cf6dbc59c054c83b434150.tar.gz
freebsd-ports-gnome-6647a93fb957d77af9cf6dbc59c054c83b434150.tar.zst
freebsd-ports-gnome-6647a93fb957d77af9cf6dbc59c054c83b434150.zip
Actually use the user's group name, not their username, for the *GRP
variables passed to the ports system. For example, use 'wheel' instead of 'root' for root.
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-xTools/scripts/mkptools/mkpinstall2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/mkptools/mkpinstall b/Tools/scripts/mkptools/mkpinstall
index e451601d9f9a..d5a1f8e6dbf9 100755
--- a/Tools/scripts/mkptools/mkpinstall
+++ b/Tools/scripts/mkptools/mkpinstall
@@ -58,7 +58,7 @@ $predir = "$tmpdir/prefix";
$hmake = "env WRKDIRPREFIX=$wdpdir PREFIX=$predir NO_PKG_REGISTER=1 ";
foreach (qw"SHARE MAN LIB BIN") {
$hmake .= $_ . "OWN=$user ";
- $hmake .= $_ . "GRP=$user ";
+ $hmake .= $_ . "GRP=$group ";
}
$hmake .= "PREFIX=$predir NO_PKG_REGISTER=1 make";