summaryrefslogtreecommitdiff
path: root/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
commitc570fe0bba81a74b8ad019081497ba88a159be80 (patch)
treee051ff0f22812361f352e04b39e8419d708cef00 /bootstrap
parentedf551f68ed1f9aa79001220e7b4302dbee2c831 (diff)
downloadpkgsrc-c570fe0bba81a74b8ad019081497ba88a159be80.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