summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authortv <tv>2004-04-21 20:35:18 +0000
committertv <tv>2004-04-21 20:35:18 +0000
commitfe3ff4de741048364f30ed7ced0a13c7a1924bbc (patch)
treee051ff0f22812361f352e04b39e8419d708cef00 /bootstrap
parentd0749950a580ce960bd9b73079176c96fd248130 (diff)
downloadpkgsrc-fe3ff4de741048364f30ed7ced0a13c7a1924bbc.tar.gz
For Interix, use "mkdir -p" after all so that the umask can take effect.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/bootstrap5
1 files changed, 4 insertions, 1 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index c915917aeff..d371b0137f6 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.13 2004/04/16 23:47:02 heinz Exp $
+# $NetBSD: bootstrap,v 1.14 2004/04/21 20:35:18 tv Exp $
#
#
# Copyright (c) 2001-2002 Alistair G. Crooks. All rights reserved.
@@ -294,6 +294,9 @@ Interix)
fi
return 0
}
+ mkdir_p () {
+ mkdir -p "$@" # allows umask to take effect
+ }
root_user=`id -un`
root_group=+Administrators
need_pax=yes