pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/bootstrap For Interix, use "mkdir -p" after all so tha...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/95ce01f09d6a
branches:  trunk
changeset: 473614:95ce01f09d6a
user:      tv <tv%pkgsrc.org@localhost>
date:      Wed Apr 21 20:35:18 2004 +0000

description:
For Interix, use "mkdir -p" after all so that the umask can take effect.

diffstat:

 bootstrap/bootstrap |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 25be830090f8 -r 95ce01f09d6a bootstrap/bootstrap
--- a/bootstrap/bootstrap       Wed Apr 21 20:34:52 2004 +0000
+++ b/bootstrap/bootstrap       Wed Apr 21 20:35:18 2004 +0000
@@ -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 @@
                fi
                return 0
        }
+       mkdir_p () {
+               mkdir -p "$@" # allows umask to take effect
+       }
        root_user=`id -un`
        root_group=+Administrators
        need_pax=yes



Home | Main Index | Thread Index | Old Index