]> granicus.if.org Git - curl/commitdiff
Make mkinstalldirs ignore umask, for consistency with the rest of the
authorDan Fandrich <dan@coneharvesters.com>
Fri, 1 Feb 2008 20:34:27 +0000 (20:34 +0000)
committerDan Fandrich <dan@coneharvesters.com>
Fri, 1 Feb 2008 20:34:27 +0000 (20:34 +0000)
install process.  Note that mkinstalldirs appears to be used only
in some configurations.

mkinstalldirs

index d0fd194fd6c74a8fe333eb68698337eef16273fc..521ecbe8d8ea4f862d6b583b8683314cf22210b5 100755 (executable)
@@ -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