diff options
author | P. J. McDermott <pjm@nac.net> | 2014-02-25 17:08:15 (EST) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2014-02-25 17:08:15 (EST) |
commit | 74f4d9127aa87e2cfa42f09e1d8eab96dd465be4 (patch) | |
tree | 5c65fe2f0a5da0aa99a1c1440830038786673e68 /lib/locale.sh | |
parent | 911a7d1314d565aaed53303bee3a6b2d0c7e8c63 (diff) |
oh_get_msg(): Use printf instead of echo.
Diffstat (limited to 'lib/locale.sh')
-rw-r--r-- | lib/locale.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/locale.sh b/lib/locale.sh index a5f24a3..30630f6 100644 --- a/lib/locale.sh +++ b/lib/locale.sh @@ -96,7 +96,7 @@ oh_get_msg() return 125 fi - IFS= eval echo \$\{"msg_${_OH_TEXT_DOMAIN}_${msgid}"\} + eval "printf '%s' \"\${msg_${_OH_TEXT_DOMAIN}_${msgid}}\"" return 0 } |