diff options
author | midipix <writeonce@midipix.org> | 2019-10-26 19:38:54 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-10-26 19:40:33 +0000 |
commit | f90f5d8a3a63762c9a8973d4bc4910f6dfa7b95f (patch) | |
tree | c0b7e9bdcd61f57e2fedb8822039f8efcb91cd60 | |
parent | 51f3955f81fa96d340bc04028089ad80ecae3a00 (diff) | |
download | apimagic-f90f5d8a3a63762c9a8973d4bc4910f6dfa7b95f.tar.bz2 apimagic-f90f5d8a3a63762c9a8973d4bc4910f6dfa7b95f.tar.xz |
build system: configure: replace echo with printf.
-rwxr-xr-x | configure | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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" |