summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/locale.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/locale.sh b/lib/locale.sh
index 874d376..3e1e494 100644
--- a/lib/locale.sh
+++ b/lib/locale.sh
@@ -135,8 +135,8 @@ _ob_try_load_internal_messages()
local ms=
_OB_LOCALE_PATH="${LOCALEDIR}/%s/LC_MESSAGES/%s.ms"
- if [ x"${OB_BUILDDIR:+set}" = 'xset' ]; then # Env var set and not null
- ms="${OB_BUILDDIR}"
+ if [ x"${OB_LIB_BUILDDIR:+set}" = 'xset' ]; then # Set and not null
+ ms="${OB_LIB_BUILDDIR}"
ms="${ms}/locale/${locale}/${_OB_INTERNAL_TEXT_DOMAIN}.ms"
else
ms="${LOCALEDIR}"