diff options
Diffstat (limited to 'bin/mkdirs')
-rwxr-xr-x | bin/mkdirs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -16,7 +16,9 @@ chmodprog="${CHMODPROG-chmod}" mkdirprog="${MKDIRPROG-mkdir}" make_dir () { - if ! test -d $1; then + if test -d $1; then + : + else make_dir `echo $1 | sed -e 's#/[^/]*$##'` $mkdirprog $1 $chmodprog 755 $1 |