From af1e100f49c8cdb6b0517352e4350690a6f7f51e Mon Sep 17 00:00:00 2001 From: David Young Date: Thu, 3 Oct 2019 10:44:24 -0500 Subject: For portability, use the POSIX sh(1) string-comparison operator `=` instead of `==`. --- tools/test/h5jam/testh5jam.sh.in | 4 ++-- 1 file 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 -- cgit v0.12