From de93207053359bf565746824ee3613f06b9b578f Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Sun, 23 Sep 2001 04:01:30 -0500 Subject: [svn-r4469] Purpose: Bug Fix Description: Some systems can't handle a test like: if ! test -d "foo"; then Solution: Removed the "!" and made a success a "nop". --- bin/mkdirs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/mkdirs b/bin/mkdirs index 3d689ad..685c7c0 100755 --- a/bin/mkdirs +++ b/bin/mkdirs @@ -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 -- cgit v0.12