Closed mandre closed 8 months ago
LGTM :+1:
The variable is replaced before Bash is even executed; this means that quotes in the variable are pasted as-is, and could terminate the quotes that start the argument to echo
. Good catch @mandre
Merged from the beach
Use heredoc syntax to append the value of
conf_overrides
to thelocal.conf
file. Compared to the previous solution usingecho
, this removes the need to shell escape your value.Also remove the useless test, since the default value for
inputs.conf_overrides
is an empty string which results in a noop.Fixes #19.