summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-10-26 19:38:54 +0000
committermidipix <writeonce@midipix.org>2019-10-26 19:38:54 +0000
commit850d395776392a00f339248c41630fb6e3c67e0b (patch)
tree1ef08e79d02f2f3e305fab7c1542c79e6678d365
parent99f4c9f914ffc7437ed3af159f78dec91e596d44 (diff)
downloadsofort-850d395776392a00f339248c41630fb6e3c67e0b.tar.bz2
sofort-850d395776392a00f339248c41630fb6e3c67e0b.tar.xz
build system: configure: replace echo with printf.
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
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"