From 10e1de2be5f1d4a2d881c15ad482eb5ded75ef9f Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 29 Mar 2004 02:20:04 +0000 Subject: Don't set -m in mkdir_p because Interix needs 0775, not 0755. Let the umask take care of it (the mtree file will do the rest). Use numeric gid for Interix in an unprivileged build. --- bootstrap/bootstrap | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'bootstrap') diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap index c301785da82..feac29116b4 100755 --- a/bootstrap/bootstrap +++ b/bootstrap/bootstrap @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: bootstrap,v 1.9 2004/03/28 01:55:17 grant Exp $ +# $NetBSD: bootstrap,v 1.10 2004/03/29 02:20:04 tv Exp $ # # # Copyright (c) 2001-2002 Alistair G. Crooks. All rights reserved. @@ -165,7 +165,7 @@ run_cmd() mkdir_p() { for dir in $@; do - run_cmd "($shprog ./files/install-sh -d -o $user -g $group -m 755 $dir)" + run_cmd "($shprog ./files/install-sh -d -o $user -g $group $dir)" done } @@ -299,7 +299,9 @@ Interix) need_bsd_install=yes need_sed=yes set_opsys=no - groupsprog="id -Gn" + # only used for unprivileged builds + groupsprog="id -gn" + # for bootstrap only; pkgsrc uses CPPFLAGS CC="gcc -D_ALL_SOURCE"; export CC ;; *) -- cgit v1.2.3