Commit 1b66ab0e authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(errstatus): Chmod a+rx directories we create.

parent 5db37a2e
......@@ -4,7 +4,7 @@
# Created: 1993-05-16
# Public domain
# $Id: mkinstalldirs,v 1.11 1998/05/19 07:05:25 drepper dead $
# $Id: mkinstalldirs,v 1.1 2001/02/02 13:04:53 gerd Exp $
errstatus=0
......@@ -24,7 +24,7 @@ do
if test ! -d "$pathcomp"; then
echo "mkdir $pathcomp" 1>&2
mkdir "$pathcomp" || lasterr=$?
(mkdir "$pathcomp" && chmod a+rx "$pathcomp") || lasterr=$?
if test ! -d "$pathcomp"; then
errstatus=$lasterr
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment