From df3fea8f18a07157934e090af729a1e49214b502 Mon Sep 17 00:00:00 2001 From: midipix Date: Oct 26 2019 19:40:33 +0000 Subject: build system: configure: replace echo with printf. --- diff --git a/configure b/configure index 60a3ddb..24230a0 100755 --- a/configure +++ b/configure @@ -38,12 +38,12 @@ usage() error_msg() { - echo "$@" >&2 + printf '%s' "$@" >&2 } warning_msg() { - echo "$@" >&2 + printf '%s' "$@" >&2 } @@ -370,7 +370,7 @@ common_defaults() config_flags() { mb_ldflags_tmp=" $mb_ldflags " - mb_ldflags_libs=$(echo "$mb_ldflags_tmp" | sed 's/ -static / /g') + mb_ldflags_libs=$(printf '%s' "$mb_ldflags_tmp" | sed 's/ -static / /g') if [ "$mb_ldflags_tmp" != "$mb_ldflags_libs" ]; then mb_ldflags="$mb_ldflags_libs"