bash warns on -gt, demanding two brackets

pull/818/head
Andre Arko 5 years ago
parent bb00c27de1
commit 0264e77396
No known key found for this signature in database
GPG Key ID: BBE521252B9D156A

@ -613,7 +613,7 @@ fi
# shellcheck disable=SC1090
. "${ROOT}/etc/kaleidoscope-builder.conf"
if [ -n "${VERBOSE}" ] && [ "${VERBOSE}" -gt 0 ]; then
if [ -n "${VERBOSE}" ] && [[ "${VERBOSE}" -gt 0 ]]; then
ARDUINO_VERBOSE="-verbose"
else
ARDUINO_VERBOSE="-quiet"

Loading…
Cancel
Save