summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortv <tv>2004-10-09 04:12:58 +0000
committertv <tv>2004-10-09 04:12:58 +0000
commit8e3667a0c2e0f9627be9620a73ad105e16be73b9 (patch)
tree99a37bb5fc9718d052d7f023b3a392851569c8ee
parent0a9529eb2fe90d4055bef1181d4431dd3c82e1b5 (diff)
downloadpkgsrc-8e3667a0c2e0f9627be9620a73ad105e16be73b9.tar.gz
Add a comment explaining that bizarre $$(id -un ...) construct in ROOT_CMD.
-rw-r--r--mk/platform/Interix.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/platform/Interix.mk b/mk/platform/Interix.mk
index 1bd5e04263d..cf1aad59ddf 100644
--- a/mk/platform/Interix.mk
+++ b/mk/platform/Interix.mk
@@ -1,4 +1,4 @@
-# $NetBSD: Interix.mk,v 1.2 2004/10/09 03:49:13 tv Exp $
+# $NetBSD: Interix.mk,v 1.3 2004/10/09 04:12:58 tv Exp $
#
# Variable definitions for the Interix operating system.
@@ -97,6 +97,8 @@ NOLOGIN?= /bin/false
PKG_TOOLS_BIN?= ${LOCALBASE}/sbin
PKGDIRMODE?= 775
.if ${BINOWN} == 197108
+# If Administrator, BINOWN is exactly this numeric value, so transform it to
+# a locale-specific name. (pkgsrc/bootstrap sets all other users to names.)
ROOT_CMD?= ${SU} - "$$(id -un 197108)" -c
.else
ROOT_CMD?= ${SU} - ${ROOT_USER} -c