From f074cf58b7777eea1ffdc23433b24a49aa4d5fd2 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Fri, 15 Mar 2019 23:14:58 -0400 Subject: _ob_try_load_internal_messages(): Rename OB_BUILDDIR env var --- (limited to 'lib') 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}" -- cgit v0.9.1