From 493a10b16e2ef4a8bc834a98feb2f6a5e43d210e Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Sat, 17 Oct 2020 22:40:34 -0700 Subject: [PATCH] switch which to command to make shellcheck happy --- bin/kaleidoscope-builder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/kaleidoscope-builder b/bin/kaleidoscope-builder index f8a8e39c..f5f29b2f 100755 --- a/bin/kaleidoscope-builder +++ b/bin/kaleidoscope-builder @@ -684,7 +684,7 @@ fi : "${KALEIDOSCOPE_BIN_DIR:=${KALEIDOSCOPE_DIR}/bin/}" -SYSTEM_ARDUINO_CLI="$(which arduino-cli || true )" +SYSTEM_ARDUINO_CLI="$(command -v arduino-cli || true )" if [ "x${SYSTEM_ARDUINO_CLI}" == "x" ]; then $VERBOSE && echo "Using our own arduino-cli"