From ff812ccdc990cbbfac9f77cd259c45c37de3614c Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Fri, 1 Feb 2008 20:34:27 +0000 Subject: [PATCH] Make mkinstalldirs ignore umask, for consistency with the rest of the install process. Note that mkinstalldirs appears to be used only in some configurations. --- mkinstalldirs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mkinstalldirs b/mkinstalldirs index d0fd194fd..521ecbe8d 100755 --- a/mkinstalldirs +++ b/mkinstalldirs @@ -22,9 +22,9 @@ do esac if test ! -d "$pathcomp"; then - echo "mkdir $pathcomp" 1>&2 + echo "mkdir -m0755 $pathcomp" 1>&2 - mkdir "$pathcomp" || lasterr=$? + mkdir -m0755 "$pathcomp" || lasterr=$? if test ! -d "$pathcomp"; then errstatus=$lasterr