diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-09-23 09:01:30 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-09-23 09:01:30 (GMT) |
commit | de93207053359bf565746824ee3613f06b9b578f (patch) | |
tree | 461bec8ceba34dfa9dab431c3e7c48445b2c9543 /bin | |
parent | 7059a124502ba128d1a8f941fa6f29079891c99b (diff) | |
download | hdf5-de93207053359bf565746824ee3613f06b9b578f.zip hdf5-de93207053359bf565746824ee3613f06b9b578f.tar.gz hdf5-de93207053359bf565746824ee3613f06b9b578f.tar.bz2 |
[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".
Diffstat (limited to 'bin')
-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 |