From 74f4d9127aa87e2cfa42f09e1d8eab96dd465be4 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 25 Feb 2014 17:08:15 -0500 Subject: oh_get_msg(): Use printf instead of echo. --- (limited to 'lib') 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 } -- cgit v0.9.1