diff options
author | David Young <dyoung@hdfgroup.org> | 2019-12-19 21:06:57 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2019-12-19 21:06:57 (GMT) |
commit | ec4418a75716b7f2ce53e627de28d139b281b545 (patch) | |
tree | 68a6846bcfcb109adb69822bde89a1184813ff03 /hl/tools | |
parent | d11b347aa77cbcfa2bf782c8856bf559444ad880 (diff) | |
download | hdf5-ec4418a75716b7f2ce53e627de28d139b281b545.zip hdf5-ec4418a75716b7f2ce53e627de28d139b281b545.tar.gz hdf5-ec4418a75716b7f2ce53e627de28d139b281b545.tar.bz2 |
In portable shell scripts (using #!/bin/sh) we have to use single square
brackets, [ ], instead of the bash-ism double square brackets, [[ ]].
Diffstat (limited to 'hl/tools')
-rw-r--r-- | hl/tools/h5watch/testh5watch.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hl/tools/h5watch/testh5watch.sh.in b/hl/tools/h5watch/testh5watch.sh.in index d31bcc3..24ff6aa 100644 --- a/hl/tools/h5watch/testh5watch.sh.in +++ b/hl/tools/h5watch/testh5watch.sh.in @@ -18,7 +18,7 @@ # supports SWMR. ./swmr_check_compat_vfd rc=$? -if [[ $rc != 0 ]] ; then +if [ $rc != 0 ] ; then echo echo "The VFD specified by the HDF5_DRIVER environment variable" echo "does not support SWMR." |