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 <algernon@keyboard.io>
pull/499/head
Gergely Nagy 6 years ago
parent b9b0a5de0a
commit 75dab2c65e
No known key found for this signature in database
GPG Key ID: AC1E90BAC433F68F

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

Loading…
Cancel
Save