Skip to content

Commit 5fcd04c

Browse files
authored
Merge pull request #516 from szeder/quote-prefix-tag
Quote the prefix tag in the space_pad_to function
2 parents c116e48 + a80518e commit 5fcd04c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Common.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ runscript_if_exists = \
1414

1515
# For message printing: pad the right side of the first argument with spaces to
1616
# the number of bytes indicated by the second argument.
17-
space_pad_to = $(shell echo $(1) " " | head -c$(2))
17+
space_pad_to = $(shell echo "$(1) " | head -c$(2))
1818

1919
# Call with some text, and a prefix tag if desired (like [AUTODETECTED]),
2020
show_config_info = $(call arduino_output,- $(call space_pad_to,$(2),20) $(1))

HISTORY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ I tried to give credit whenever possible. If I have missed anyone, kindly add it
66

77
### In Development
88
- Fix: Add -fno-devirtualize flag to workaround g++ segfault bug (issue #486). (https://github.com/sej7278)
9+
- Fix: Quote the prefix tag in the space_pad_to function
910
- Tweak: Set ARDMK_VERSION to 1.6 (https://github.com/sej7278)
1011
- New: Added -fdiagnostics-color to *STD flags (https://github.com/sej7278)
1112

0 commit comments

Comments
 (0)