summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authortv <tv>2004-03-29 02:20:04 +0000
committertv <tv>2004-03-29 02:20:04 +0000
commit16fcc899b8860bd028cdd382af59bc3bbd576267 (patch)
tree42ff9b57b87bbf5c10ee42c46c6be5549600d8ea /bootstrap
parent168f7f40b28d9a8ccd8063293cae191c1406d32d (diff)
downloadpkgsrc-16fcc899b8860bd028cdd382af59bc3bbd576267.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.
Diffstat (limited to 'bootstrap')
-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
;;
*)