summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-02-22 13:39:31 +0000
committerobache <obache@pkgsrc.org>2013-02-22 13:39:31 +0000
commitf9590826c60fab8ecf82ffd8b40765844cd6ddcc (patch)
tree109eb1f379cf9b6d5b9125e372b2f2b3a7a639a6 /bootstrap
parent00df06b922875bdd51c6dc5a37f8c395d4a44839 (diff)
downloadpkgsrc-f9590826c60fab8ecf82ffd8b40765844cd6ddcc.tar.gz
Fix ROOT_USER/ROOT_GROUP for Cygwin to Administrators/Administrators (not using
its UID/GID), and sync platform privilege check with bootstrap script.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/bootstrap6
1 files changed, 3 insertions, 3 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index 01b0e23315e..554ca279d4f 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.189 2013/02/20 12:44:14 obache Exp $
+# $NetBSD: bootstrap,v 1.190 2013/02/22 13:39:31 obache Exp $
#
# Copyright (c) 2001-2011 Alistair Crooks <agc@NetBSD.org>
# All rights reserved.
@@ -474,8 +474,8 @@ CYGWIN_*)
fi
return 1
}
- root_user=`id -u`
- root_group=`id -g Administrators`
+ root_user=Administrators
+ root_group=Administrators
need_bsd_install=no
opsys=`uname -o`
need_awk=no