summaryrefslogtreecommitdiff
path: root/bootstrap/bootstrap
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2004-04-21 20:35:18 +0000
committertv <tv@pkgsrc.org>2004-04-21 20:35:18 +0000
commit29729ef6eb19c8bdff7ef704d615ae64119d05f2 (patch)
treee051ff0f22812361f352e04b39e8419d708cef00 /bootstrap/bootstrap
parent4c2aaec50980e0a3876df4169ae2026f9f8deec5 (diff)
downloadpkgsrc-29729ef6eb19c8bdff7ef704d615ae64119d05f2.tar.gz
For Interix, use "mkdir -p" after all so that the umask can take effect.
Diffstat (limited to 'bootstrap/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