[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".
This commit is contained in:
Bill Wendling 2001-09-23 04:01:30 -05:00
parent 7059a12450
commit de93207053

View File

@ -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