From: Bimba Shrestha Date: Tue, 2 Jun 2020 16:12:50 +0000 (-0700) Subject: [shellcheck] setting if unset X-Git-Tag: v1.4.7~143^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0f851675a1bd44f21425f673ab54678862e5cbc;p=thirdparty%2Fzstd.git [shellcheck] setting if unset --- diff --git a/tests/playTests.sh b/tests/playTests.sh index 99325976a..c84cd6a1b 100755 --- a/tests/playTests.sh +++ b/tests/playTests.sh @@ -78,6 +78,11 @@ println() { printf '%b\n' "${*}" } +if [ -z "${size}" ]; then + size= +else + size=${size} +fi SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd) PRGDIR="$SCRIPT_DIR/../programs"