diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-09-24 20:55:05 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-09-24 20:55:05 (GMT) |
commit | a6036953db9be2210acbed0882cf62c594b3a168 (patch) | |
tree | 89b773e2f3a86101ac035928a3a92c796dfb66e8 /bin | |
parent | 0a8e7a6357d8dc6c174001e6ad4154d5b433efe6 (diff) | |
download | hdf5-a6036953db9be2210acbed0882cf62c594b3a168.zip hdf5-a6036953db9be2210acbed0882cf62c594b3a168.tar.gz hdf5-a6036953db9be2210acbed0882cf62c594b3a168.tar.bz2 |
[svn-r4472]
Purpose:
Refix
Description:
Changed
if test -d $1; then
:
else
to
if test ! -d $1; then
since "test ! -d" should work on all platforms and is a much cleaner
solution than the original.
Platforms tested:
Linux
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/mkdirs | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -16,9 +16,7 @@ chmodprog="${CHMODPROG-chmod}" mkdirprog="${MKDIRPROG-mkdir}" make_dir () { - if test -d $1; then - : - else + if test ! -d $1; then make_dir `echo $1 | sed -e 's#/[^/]*$##'` $mkdirprog $1 $chmodprog 755 $1 |