diff options
author | David Young <dyoung@hdfgroup.org> | 2019-10-03 15:44:24 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2019-10-03 21:01:40 (GMT) |
commit | af1e100f49c8cdb6b0517352e4350690a6f7f51e (patch) | |
tree | 2ab4be1310c9a6f76b041c296c69c840009e5fb6 /tools/test/h5jam | |
parent | f2be6da71479c4d20e61af8dfebd2aa0050427d9 (diff) | |
download | hdf5-af1e100f49c8cdb6b0517352e4350690a6f7f51e.zip hdf5-af1e100f49c8cdb6b0517352e4350690a6f7f51e.tar.gz hdf5-af1e100f49c8cdb6b0517352e4350690a6f7f51e.tar.bz2 |
For portability, use the POSIX sh(1) string-comparison operator `=`
instead of `==`.
Diffstat (limited to 'tools/test/h5jam')
-rw-r--r-- | tools/test/h5jam/testh5jam.sh.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test/h5jam/testh5jam.sh.in b/tools/test/h5jam/testh5jam.sh.in index 3ae180b..bf705b4 100644 --- a/tools/test/h5jam/testh5jam.sh.in +++ b/tools/test/h5jam/testh5jam.sh.in @@ -474,9 +474,9 @@ UNJAMTEST () { # TOOLTEST_OUTPUT() { - if [ "$1" == "JAM" ]; then + if [ "$1" = "JAM" ]; then TOOLCMD=$JAM_BIN/$JAM - elif [ "$1" == "UNJAM" ]; then + elif [ "$1" = "UNJAM" ]; then TOOLCMD=$JAM_BIN/$UNJAM fi shift |