diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-15 23:14:58 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-15 23:14:58 (EDT) |
commit | f074cf58b7777eea1ffdc23433b24a49aa4d5fd2 (patch) | |
tree | fbeec56fb94e4e57fb9acf1dccdf904f607fe574 /lib | |
parent | 7157128d836de9989fdf031727842cd749ae86ce (diff) |
_ob_try_load_internal_messages(): Rename OB_BUILDDIR env var
Diffstat (limited to 'lib')
-rw-r--r-- | lib/locale.sh | 4 |
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}" |