summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2004-05-05 14:39:45 +0000
committertv <tv@pkgsrc.org>2004-05-05 14:39:45 +0000
commit640ffba907e742423cdd0f4bc5dd6292367aeb57 (patch)
tree8f1654313589b2a7dd39f14e07dcbb1d8b3fc4a7 /bootstrap
parent67da4c8bb4de6e2f939ce3787b976e7c0e25bbaa (diff)
downloadpkgsrc-640ffba907e742423cdd0f4bc5dd6292367aeb57.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