summaryrefslogtreecommitdiff
path: root/bootstrap/bootstrap
diff options
context:
space:
mode:
authorcheusov <cheusov@pkgsrc.org>2014-08-14 00:21:24 +0000
committercheusov <cheusov@pkgsrc.org>2014-08-14 00:21:24 +0000
commite02f9607e3b75882a9e30127322f7492a3a4b4a6 (patch)
treeaf99892ee8a56e3c0111905595d6375a55406bd6 /bootstrap/bootstrap
parent0412a0c8c2534b3c629a3bb46c7926b5c3d8b741 (diff)
downloadpkgsrc-e02f9607e3b75882a9e30127322f7492a3a4b4a6.tar.gz
Fix packages creation on Interix.
User/group names are used instead of uid/gid. Problem with spaces inside user/group name should be fixed by Cygwin support added some time ago.
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 9da88699a86..2d24923b173 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.211 2014/08/01 15:01:16 schmonz Exp $
+# $NetBSD: bootstrap,v 1.212 2014/08/14 00:21:24 cheusov Exp $
#
# Copyright (c) 2001-2011 Alistair Crooks <agc@NetBSD.org>
# All rights reserved.
@@ -616,8 +616,8 @@ Interix)
mkdir -p "$@" # allows umask to take effect
}
default_install_mode=0775
- root_user=`id -u`
- root_group=131616
+ root_user=`id -un`
+ root_group=+Administrators
case `uname -r` in
3.* | 5.*)
need_bsd_install=yes