pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/bootstrap Use /usr/xpg4/bin/id on Solaris to get user ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/036e6341bc36
branches:  trunk
changeset: 545345:036e6341bc36
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Jul 31 13:42:57 2008 +0000

description:
Use /usr/xpg4/bin/id on Solaris to get user id and group id.
Reported by David H. Gutter and based on the suggestion from salo
in PR 39235.

diffstat:

 bootstrap/bootstrap |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 35e2b62e271f -r 036e6341bc36 bootstrap/bootstrap
--- a/bootstrap/bootstrap       Thu Jul 31 12:55:01 2008 +0000
+++ b/bootstrap/bootstrap       Thu Jul 31 13:42:57 2008 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: bootstrap,v 1.134 2008/07/20 23:57:36 dbj Exp $
+# $NetBSD: bootstrap,v 1.135 2008/07/31 13:42:57 joerg Exp $
 #
 #
 # Copyright (c) 2001-2002 Alistair G. Crooks.  All rights reserved.
@@ -576,7 +576,8 @@
        need_sed=yes
        need_ksh=yes
        set_opsys=no
-       whoamiprog=/usr/ucb/whoami
+       groupsprog="/usr/xpg4/bin/id -gn"
+       whoamiprog="/usr/xpg4/bin/id -un"
        machine_arch=`uname -p | sed -e 's/i86pc/i386/'`
        check_compiler=yes
        ;;



Home | Main Index | Thread Index | Old Index