summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2019-10-03 15:44:24 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2019-10-03 21:01:40 (GMT)
commitaf1e100f49c8cdb6b0517352e4350690a6f7f51e (patch)
tree2ab4be1310c9a6f76b041c296c69c840009e5fb6
parentf2be6da71479c4d20e61af8dfebd2aa0050427d9 (diff)
downloadhdf5-af1e100f49c8cdb6b0517352e4350690a6f7f51e.zip
hdf5-af1e100f49c8cdb6b0517352e4350690a6f7f51e.tar.gz
hdf5-af1e100f49c8cdb6b0517352e4350690a6f7f51e.tar.bz2
For portability, use the POSIX sh(1) string-comparison operator `=`
instead of `==`.
-rw-r--r--tools/test/h5jam/testh5jam.sh.in4
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