aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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