aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-02-01 20:34:27 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-02-01 20:34:27 +0000
commitff812ccdc990cbbfac9f77cd259c45c37de3614c (patch)
treef45119892455945059acc3a4be7896c873376ef9
parent03bbf4de482853e70e0abe04ccf18ea4fb0e79c6 (diff)
Make mkinstalldirs ignore umask, for consistency with the rest of the
install process. Note that mkinstalldirs appears to be used only in some configurations.
-rwxr-xr-xmkinstalldirs4
1 files 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