Shellcheck flags -n as a better replacement -f ! -z

Signed-off-by: Jesse Vincent <jesse@keyboard.io>
pull/753/head
Jesse Vincent 5 years ago
parent eb52795c79
commit bab32fcc9d
No known key found for this signature in database
GPG Key ID: CC228463465E40BC

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

Loading…
Cancel
Save