From cca8ac1438f0aae7b3a15642705d25f890aa07b3 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Thu, 12 Nov 2020 23:46:47 -0800 Subject: [PATCH] shellcheck fixes --- bin/kaleidoscope-builder | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/kaleidoscope-builder b/bin/kaleidoscope-builder index e39b57b1..9f2e915d 100755 --- a/bin/kaleidoscope-builder +++ b/bin/kaleidoscope-builder @@ -302,6 +302,8 @@ cmd_compile() { _CMD_CXX="${CXX:-${COMPILER_PREFIX}${CXX_COMPILER_BASENAME}${COMPILER_SUFFIX}}" _CMD_CC="${CC:-${COMPILER_PREFIX}${C_COMPILER_BASENAME}${COMPILER_SUFFIX}}" _CMD_AR="${AR:-${COMPILER_PREFIX}${AR_BASENAME}${COMPILER_SUFFIX}}" + + # shellcheck disable=SC2086 _run_arduino_cli compile \ --fqbn "${FQBN}" \ --libraries "${KALEIDOSCOPE_DIR}/.." \ @@ -459,6 +461,6 @@ if [ $# -eq 1 ]; then else "You passed more than two arguments to $0" help - exit -1 + exit 1 / fi