pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/rc.subr/files Use id -un for whoami on QNX.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2cc5c14bd77a
branches:  trunk
changeset: 541488:2cc5c14bd77a
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Apr 23 18:04:03 2008 +0000

description:
Use id -un for whoami on QNX.

diffstat:

 pkgtools/rc.subr/files/rc.subr |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r bc4347c36cd0 -r 2cc5c14bd77a pkgtools/rc.subr/files/rc.subr
--- a/pkgtools/rc.subr/files/rc.subr    Wed Apr 23 17:04:02 2008 +0000
+++ b/pkgtools/rc.subr/files/rc.subr    Wed Apr 23 18:04:03 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rc.subr,v 1.7 2008/04/23 11:54:54 joerg Exp $
+# $NetBSD: rc.subr,v 1.8 2008/04/23 18:04:03 joerg Exp $
 #
 # Copyright (c) 1997-2002 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -106,7 +106,7 @@
 #              _RCCMD_ci="/usr/bin/ci"                 # not in QNX
 #              _RCCMD_co="/usr/bin/co"                 # not in QNX
 #              _RCCMD_systrace="/bin/systrace"         # not in QNX
-#              _RCCMD_whoami="/usr/ucb/whoami"         # not in QNX
+               _RCCMD_whoami="/usr/bin/id -un"
                _RCARG_psformat="-o pid,comm"
                _RCARG_ps="-ef"
                _RCARG_su=""



Home | Main Index | Thread Index | Old Index