summaryrefslogtreecommitdiffstats
path: root/hl
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2019-12-19 21:06:57 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:20:21 (GMT)
commit2914c7baf8619cdaa58a3d1234b9b209a47bfe81 (patch)
tree139b7e19d95c3267b566d22526a86f7b261dd201 /hl
parent5ad9d9277e7476a93372d5e05da6917b93204d2a (diff)
downloadhdf5-2914c7baf8619cdaa58a3d1234b9b209a47bfe81.zip
hdf5-2914c7baf8619cdaa58a3d1234b9b209a47bfe81.tar.gz
hdf5-2914c7baf8619cdaa58a3d1234b9b209a47bfe81.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')
-rw-r--r--hl/tools/h5watch/testh5watch.sh.in2
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."