summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorcheusov <cheusov>2013-01-06 17:33:24 +0000
committercheusov <cheusov>2013-01-06 17:33:24 +0000
commit9279365bf580942ac8fdeb3ac9584e5443f26e14 (patch)
treecbaf5b36c15d4d12b23d795dd47c4beba77c0854 /bootstrap
parent4b80d6442926c2221caa3de3db696a80f92ef82c (diff)
downloadpkgsrc-9279365bf580942ac8fdeb3ac9584e5443f26e14.tar.gz
Latest version of Haiku uses name "baron" for superuser. So, we use id(1) at bootstrap time
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/bootstrap4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index 2c7704bff79..08a6c558758 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.181 2012/10/02 21:02:21 cheusov Exp $
+# $NetBSD: bootstrap,v 1.182 2013/01/06 17:33:24 cheusov Exp $
#
# Copyright (c) 2001-2011 Alistair Crooks <agc@NetBSD.org>
# All rights reserved.
@@ -505,7 +505,7 @@ FreeBSD)
machine_arch=`uname -p`
;;
Haiku)
- root_user=user
+ root_user=`id -un`
root_group=root
need_bsd_install=no
need_awk=no