From 75dab2c65eb34d4841f196b9d1a6192de9415385 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Fri, 14 Dec 2018 23:49:03 +0100 Subject: [PATCH] kaleidoscope-builder: Fix the avr-size invocation When calling avr-size, we want to expand ${AVR_SIZE_FLAGS}, not pass it as a single argument, hence, we do not need to - and do not want to! - quote it. Signed-off-by: Gergely Nagy --- bin/kaleidoscope-builder | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/kaleidoscope-builder b/bin/kaleidoscope-builder index 66e44e85..702e7c0f 100755 --- a/bin/kaleidoscope-builder +++ b/bin/kaleidoscope-builder @@ -292,7 +292,8 @@ size () { fi echo "- Size: firmware/${LIBRARY}/${OUTPUT_FILE_PREFIX}.elf" - firmware_size "${AVR_SIZE}" "${AVR_SIZE_FLAGS}" "${ELF_FILE_PATH}" + # shellcheck disable=SC2086 # We want word splitting here! + firmware_size "${AVR_SIZE}" ${AVR_SIZE_FLAGS} "${ELF_FILE_PATH}" echo }