summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-03-11 23:56:05 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-03-11 23:56:05 (EDT)
commitdb0d2704293360c813ff68d4f314714864b4a7f5 (patch)
tree436cfcc9fb9ab8b49980d8bf233b7eb5c60e207b
parent4e4f8af4a53fb0f1f7aedafda55de632dd80c735 (diff)
ob_get_msg(): Replace echo with printf in eval
-rw-r--r--lib/locale.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/locale.sh b/lib/locale.sh
index e5e1ac6..49df666 100644
--- a/lib/locale.sh
+++ b/lib/locale.sh
@@ -138,7 +138,7 @@ ob_get_msg()
return 125
fi
- IFS= eval echo \$\{"msg_${_ob_text_domain}_${msgid}"\}
+ eval "printf '%s' \"\${msg_${_ob_text_domain}_${msgid}}\""
return 0
}