From 847349195fb0c1e4d0356afa003d7d3963e733af Mon Sep 17 00:00:00 2001 From: Shaojing Li Date: Wed, 3 Jun 2020 11:36:38 -0700 Subject: [PATCH] fix the if statements in posix sh env --- tests/playTests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/playTests.sh b/tests/playTests.sh index b17ce14b9..20bdc3492 100755 --- a/tests/playTests.sh +++ b/tests/playTests.sh @@ -130,13 +130,13 @@ esac # check if ZSTD_BIN is defined. if not, use the default value -if [[ -z "${ZSTD_BIN}" ]]; then +if [ -z "${ZSTD_BIN}" ]; then println "\nZSTD_BIN is not set. Using the default value..." ZSTD_BIN="$PRGDIR/zstd" fi # check if DATAGEN_BIN is defined. if not, use the default value -if [[ -z "${DATAGEN_BIN}" ]]; then +if [ -z "${DATAGEN_BIN}" ]; then println "\nDATAGEN_BIN is not set. Using the default value..." DATAGEN_BIN="$TESTDIR/datagen" fi -- 2.47.2