From 7fe17220b7a0d5a4ba30a513c7b51e110293383e Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 18 Nov 2023 20:11:24 +0000 Subject: [PATCH] ref(bootstrap): use -- in printf -- '%s' "${foo}" just to be safe --- _webi/curl-pipe-bootstrap.tpl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_webi/curl-pipe-bootstrap.tpl.sh b/_webi/curl-pipe-bootstrap.tpl.sh index 9823adb..8e71f69 100644 --- a/_webi/curl-pipe-bootstrap.tpl.sh +++ b/_webi/curl-pipe-bootstrap.tpl.sh @@ -66,9 +66,9 @@ fn_printf() { ( a_text="${2}" if fn_is_tty; then #shellcheck disable=SC2059 - printf "${a_style}" "${a_text}" + printf -- "${a_style}" "${a_text}" else - printf '%s' "${a_text}" + printf -- '%s' "${a_text}" fi ); }