tell Cygiwn to bootstrap.
This commit is contained in:
parent
0fb23f7391
commit
a2d8b8c8f7
1 changed files with 20 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
|
||||
# $NetBSD: bootstrap,v 1.183 2013/01/31 22:55:21 hans Exp $
|
||||
# $NetBSD: bootstrap,v 1.184 2013/02/09 12:41:43 obache Exp $
|
||||
#
|
||||
# Copyright (c) 2001-2011 Alistair Crooks <agc@NetBSD.org>
|
||||
# All rights reserved.
|
||||
|
@ -467,6 +467,25 @@ AIX)
|
|||
set_opsys=no
|
||||
machine_arch=`get_machine_arch_aix`
|
||||
;;
|
||||
CYGWIN_*)
|
||||
is_root () {
|
||||
if id -nG | grep -q 'Administrators'; then
|
||||
return 1
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
root_user=`id -u`
|
||||
root_grou=`id -g Administrator`
|
||||
need_bsd_install=no
|
||||
opsys=`uname -o`
|
||||
need_awk=no
|
||||
need_sed=no
|
||||
need_xargs=no
|
||||
# only used for unprivileged builds.
|
||||
whoamiprog='id -u'
|
||||
groupsprog='id -g'
|
||||
;;
|
||||
|
||||
Darwin)
|
||||
root_group=wheel
|
||||
need_bsd_install=no
|
||||
|
|
Loading…
Reference in a new issue