From b0f851675a1bd44f21425f673ab54678862e5cbc Mon Sep 17 00:00:00 2001 From: Bimba Shrestha Date: Tue, 2 Jun 2020 09:12:50 -0700 Subject: [PATCH] [shellcheck] setting if unset --- tests/playTests.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/playTests.sh b/tests/playTests.sh index 99325976..c84cd6a1 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"