diff options
author | David Young <dyoung@hdfgroup.org> | 2019-12-19 21:06:57 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2019-12-19 23:26:34 (GMT) |
commit | 471df15556025fd211351ad54183fa196b2fd341 (patch) | |
tree | 737af194b9a88b3dca8a9ee99578b4df8edc3eee /tools/test | |
parent | d841be3ef3f6b2feab405c567cee6358ad9279b2 (diff) | |
download | hdf5-471df15556025fd211351ad54183fa196b2fd341.zip hdf5-471df15556025fd211351ad54183fa196b2fd341.tar.gz hdf5-471df15556025fd211351ad54183fa196b2fd341.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 'tools/test')
-rw-r--r-- | tools/test/h5dump/testh5dump.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test/h5dump/testh5dump.sh.in b/tools/test/h5dump/testh5dump.sh.in index 4b85138..dc7d999 100644 --- a/tools/test/h5dump/testh5dump.sh.in +++ b/tools/test/h5dump/testh5dump.sh.in @@ -923,7 +923,7 @@ GREPTEST() cd $TESTDIR $ENVCMD $RUNSERIAL $DUMPER_BIN -p "$@" ) >$actual 2>$actual_err - if [[ "$txttype" = "ERRTXT" ]]; then + if [ "$txttype" = "ERRTXT" ]; then $GREP "$expectdata" $actual_err > /dev/null else $GREP "$expectdata" $actual > /dev/null |