diff options
author | cheusov <cheusov> | 2014-08-14 00:21:24 +0000 |
---|---|---|
committer | cheusov <cheusov> | 2014-08-14 00:21:24 +0000 |
commit | f5fdbde5592242171412eff4d612123c5f00fa82 (patch) | |
tree | af99892ee8a56e3c0111905595d6375a55406bd6 /bootstrap/bootstrap | |
parent | cee90f8948d4a413ced48a6cd929c114d4e50b60 (diff) | |
download | pkgsrc-f5fdbde5592242171412eff4d612123c5f00fa82.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-x | bootstrap/bootstrap | 6 |
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 |