pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/platform Add a comment explaining that bizarre $$(i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0e9a7ffa54a9
branches:  trunk
changeset: 481635:0e9a7ffa54a9
user:      tv <tv%pkgsrc.org@localhost>
date:      Sat Oct 09 04:12:58 2004 +0000

description:
Add a comment explaining that bizarre $$(id -un ...) construct in ROOT_CMD.

diffstat:

 mk/platform/Interix.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 34145ba192ec -r 0e9a7ffa54a9 mk/platform/Interix.mk
--- a/mk/platform/Interix.mk    Sat Oct 09 03:53:48 2004 +0000
+++ b/mk/platform/Interix.mk    Sat Oct 09 04:12:58 2004 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index