From 45bbf1a7b4b46acc1e79b25b7bdccb680f21483e Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 26 Oct 2019 19:53:50 +0000 Subject: build system: normalize quoting of printf format argument. --- configure | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 24230a0..222785a 100755 --- a/configure +++ b/configure @@ -76,7 +76,7 @@ init_vars() mb_vars="$mb_make_vars $mb_impl_vars $mb_proj_vars $mb_flag_vars" - for mb_var in $(printf "$mb_vars") ; do + for mb_var in $(printf '%s' "$mb_vars") ; do mb_expr=$mb_var='${'$mb_var':-}' eval "$mb_expr" done @@ -395,7 +395,7 @@ config_copy() | grep -v '^#') mb_sed_substs=" \ - $(for __var in $(printf %s "$mb_vars"); do \ + $(for __var in $(printf '%s' "$mb_vars"); do \ printf '%s"$%s"%s' "-e 's^@$__var@^'" \ "mb_$__var" "'^g' "; \ done)" @@ -461,9 +461,9 @@ config_host() config_status() { - printf "\n\n" + printf '\n\n' make -j1 .display - printf "\nconfiguration completed successfully.\n\n" + printf '\nconfiguration completed successfully.\n\n' } -- cgit v1.2.3