mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-01 16:28:09 +08:00
[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:
parent
7059a12450
commit
de93207053
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user