aboutsummaryrefslogtreecommitdiff
path: root/Common.mk
diff options
context:
space:
mode:
authorSimon John <git@the-jedi.co.uk>2017-08-11 09:27:10 +0100
committerGitHub <noreply@github.com>2017-08-11 09:27:10 +0100
commit5fcd04cdef9b8378fe0a9cafe426321a62d9bdbd (patch)
tree37f3ff94283dbc60a73ea25418fb857eb6af037b /Common.mk
parentc116e48418004e6f2538f711b63abc128c26245c (diff)
parenta80518e308ab910a90ea0cef1e46a29800edd9a9 (diff)
Merge pull request #516 from szeder/quote-prefix-tag
Quote the prefix tag in the space_pad_to function
Diffstat (limited to 'Common.mk')
-rw-r--r--Common.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Common.mk b/Common.mk
index 7eda5ea..e6e9369 100644
--- a/Common.mk
+++ b/Common.mk
@@ -14,7 +14,7 @@ runscript_if_exists = \
# For message printing: pad the right side of the first argument with spaces to
# the number of bytes indicated by the second argument.
-space_pad_to = $(shell echo $(1) " " | head -c$(2))
+space_pad_to = $(shell echo "$(1) " | head -c$(2))
# Call with some text, and a prefix tag if desired (like [AUTODETECTED]),
show_config_info = $(call arduino_output,- $(call space_pad_to,$(2),20) $(1))