diff options
author | tv <tv@pkgsrc.org> | 2004-10-09 04:12:58 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2004-10-09 04:12:58 +0000 |
commit | 26bca1504dbdb14507e67c0333642462866efbb3 (patch) | |
tree | 99a37bb5fc9718d052d7f023b3a392851569c8ee /mk | |
parent | 54741096bbb3103b91c4271a649c05dabe94b3e5 (diff) | |
download | pkgsrc-26bca1504dbdb14507e67c0333642462866efbb3.tar.gz |
Add a comment explaining that bizarre $$(id -un ...) construct in ROOT_CMD.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/platform/Interix.mk | 4 |
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 |