summaryrefslogtreecommitdiff
path: root/bootstrap/bootstrap
diff options
context:
space:
mode:
authorobache <obache>2013-02-22 13:39:31 +0000
committerobache <obache>2013-02-22 13:39:31 +0000
commit2a22061b9fa6c4daf7a66fb39d9afcab48f5cdc7 (patch)
tree109eb1f379cf9b6d5b9125e372b2f2b3a7a639a6 /bootstrap/bootstrap
parent03b562cc3697bf37090aa5633c5a658a2b5bde4b (diff)
downloadpkgsrc-2a22061b9fa6c4daf7a66fb39d9afcab48f5cdc7.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/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