From: Dan Fandrich Date: Fri, 1 Feb 2008 20:34:27 +0000 (+0000) Subject: Make mkinstalldirs ignore umask, for consistency with the rest of the X-Git-Tag: curl-7_18_1~173 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff812ccdc990cbbfac9f77cd259c45c37de3614c;p=curl Make mkinstalldirs ignore umask, for consistency with the rest of the install process. Note that mkinstalldirs appears to be used only in some configurations. --- 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