diff options
author | joerg <joerg@pkgsrc.org> | 2008-07-31 13:42:57 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-07-31 13:42:57 +0000 |
commit | 6e80035f262298deafe2d1e343c01aeb9720de69 (patch) | |
tree | 90aed9736718b9b9f8a51c558adc2e25fc385af2 /bootstrap | |
parent | 6a4e727747ce4dd6c44eb20694d5eae980c3c866 (diff) | |
download | pkgsrc-6e80035f262298deafe2d1e343c01aeb9720de69.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-x | bootstrap/bootstrap | 5 |
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 ;; |