fix the if statements in posix sh env

dev
Shaojing Li 2020-06-03 11:36:38 -07:00
parent 3a3da1712b
commit 847349195f
1 changed files with 2 additions and 2 deletions

View File

@ -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