]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
[shellcheck] setting if unset
authorBimba Shrestha <bimbashrestha@fb.com>
Tue, 2 Jun 2020 16:12:50 +0000 (09:12 -0700)
committerBimba Shrestha <bimbashrestha@fb.com>
Tue, 2 Jun 2020 16:12:50 +0000 (09:12 -0700)
tests/playTests.sh

index 99325976a8321911e9056f8d2a9681d24789eb15..c84cd6a1b1d701933258428c0492c61e54d14dd1 100755 (executable)
@@ -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"