summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. 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)
commit74f4d9127aa87e2cfa42f09e1d8eab96dd465be4 (patch)
tree5c65fe2f0a5da0aa99a1c1440830038786673e68
parent911a7d1314d565aaed53303bee3a6b2d0c7e8c63 (diff)
oh_get_msg(): Use printf instead of echo.
-rw-r--r--lib/locale.sh2
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
}