From bab32fcc9d3ea8b409f2f98f99efae3c6409e097 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Thu, 5 Dec 2019 11:20:38 -0800 Subject: [PATCH] Shellcheck flags -n as a better replacement -f ! -z Signed-off-by: Jesse Vincent --- bin/kaleidoscope-builder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/kaleidoscope-builder b/bin/kaleidoscope-builder index 45fa1873..4336bdfa 100755 --- a/bin/kaleidoscope-builder +++ b/bin/kaleidoscope-builder @@ -545,7 +545,7 @@ fi # shellcheck disable=SC1090 . "${ROOT}/etc/kaleidoscope-builder.conf" -if [ ! -z "${VERBOSE}" ] && [ "${VERBOSE}" -gt 0 ]; then +if [ -n "${VERBOSE}" ] && [ "${VERBOSE}" -gt 0 ]; then ARDUINO_VERBOSE="-verbose" else ARDUINO_VERBOSE="-quiet"