summaryrefslogtreecommitdiff
path: root/bootstrap
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
commite420347f328d4889c2c6cb7c65a8743809a4205a (patch)
tree42ff9b57b87bbf5c10ee42c46c6be5549600d8ea /bootstrap
parent75bce2c6be81b288a7d4e5090b7ce540ac3fb03f (diff)
downloadpkgsrc-e420347f328d4889c2c6cb7c65a8743809a4205a.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
;;
*)