summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2004-03-29 02:20:04 +0000
committertv <tv@pkgsrc.org>2004-03-29 02:20:04 +0000
commit0e9ff9bdf93932bed9ed35ffe1c6043628c76aa7 (patch)
tree42ff9b57b87bbf5c10ee42c46c6be5549600d8ea
parent98b1f694747d882442f3a54997569d1517cd6f6c (diff)
downloadpkgsrc-0e9ff9bdf93932bed9ed35ffe1c6043628c76aa7.tar.gz
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.
-rwxr-xr-xbootstrap/bootstrap8
1 files changed, 5 insertions, 3 deletions
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
;;
*)