summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authortv <tv>2004-05-05 14:39:45 +0000
committertv <tv>2004-05-05 14:39:45 +0000
commitbc1184bd65ae999bb4a3cb815b5c7b581f62959f (patch)
tree8f1654313589b2a7dd39f14e07dcbb1d8b3fc4a7 /bootstrap
parent3d752df2abe3fc2750f5d7be5ad61275318274e1 (diff)
downloadpkgsrc-bc1184bd65ae999bb4a3cb815b5c7b581f62959f.tar.gz
Use numeric uid/gid instead of Administrator/+Administrators, as native
language non-English versions of Windows name these accounts differently.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/bootstrap10
1 files changed, 6 insertions, 4 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index e28be83b257..57b6ca5f2ae 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.16 2004/04/24 19:17:09 danw Exp $
+# $NetBSD: bootstrap,v 1.17 2004/05/05 14:39:45 tv Exp $
#
#
# Copyright (c) 2001-2002 Alistair G. Crooks. All rights reserved.
@@ -293,7 +293,7 @@ AIX)
;;
Interix)
is_root () {
- if id -Gn | grep -q +Administrators; then
+ if id -G | grep -q 131616; then
return 1
fi
return 0
@@ -302,8 +302,8 @@ Interix)
mkdir -p "$@" # allows umask to take effect
}
default_install_mode=0775
- root_user=`id -un`
- root_group=+Administrators
+ root_user=`id -u`
+ root_group=131616
need_pax=yes
need_mtree=yes
need_bsd_install=yes
@@ -313,6 +313,8 @@ Interix)
groupsprog="id -gn"
# for bootstrap only; pkgsrc uses CPPFLAGS
CC="gcc -D_ALL_SOURCE"; export CC
+ ac_cv_header_poll_h=no; export ac_cv_header_poll_h
+ ac_cv_func_poll=no; export ac_cv_func_poll
;;
UnixWare)
root_group=sys