summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorjoerg <joerg>2008-07-31 13:42:57 +0000
committerjoerg <joerg>2008-07-31 13:42:57 +0000
commite73bff214bf36375ca6143f6dccf8fbd7c91974a (patch)
tree90aed9736718b9b9f8a51c558adc2e25fc385af2 /bootstrap
parent027a11b46aebed8ce0e8cb6e9e070983b8dc8dea (diff)
downloadpkgsrc-e73bff214bf36375ca6143f6dccf8fbd7c91974a.tar.gz
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 (limited to 'bootstrap')
-rwxr-xr-xbootstrap/bootstrap5
1 files changed, 3 insertions, 2 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index 043f06ba3de..903fa2d4185 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -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 @@ SunOS)
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
;;