summaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-10-26 19:38:54 +0000
committermidipix <writeonce@midipix.org>2019-10-26 19:40:34 +0000
commite1c1ac0f24edbfcd4b1233150f5d0e7bf480b4df (patch)
tree8e5e6f5eac1b9f39a7e4cca35e1c0a8501a5b8ae /configure
parent642e5fdfbd2fea29e4d01f45e3ae1683ce956863 (diff)
downloadpemagine-e1c1ac0f24edbfcd4b1233150f5d0e7bf480b4df.tar.bz2
pemagine-e1c1ac0f24edbfcd4b1233150f5d0e7bf480b4df.tar.xz
build system: configure: replace echo with printf.
Diffstat (limited to 'configure')
-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"