diff options
author | cheusov <cheusov@pkgsrc.org> | 2014-08-14 00:21:24 +0000 |
---|---|---|
committer | cheusov <cheusov@pkgsrc.org> | 2014-08-14 00:21:24 +0000 |
commit | 0457e1ca313c8a66671676a90fbf09d82d2fb62b (patch) | |
tree | af99892ee8a56e3c0111905595d6375a55406bd6 /bootstrap | |
parent | fac6422aaea5287ca51769fa27dfaff3709bedab (diff) | |
download | pkgsrc-0457e1ca313c8a66671676a90fbf09d82d2fb62b.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')
-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 |