From b318d8b6d1b639a80e2bbd008c3d96c16850150b Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Fri, 15 Mar 2019 23:33:04 -0400 Subject: _ob_try_load_*messages(): Don't mandate "locale" dir in build dir --- (limited to 'lib') diff --git a/lib/locale.sh b/lib/locale.sh index c5790f6..cc3560d 100644 --- a/lib/locale.sh +++ b/lib/locale.sh @@ -42,7 +42,7 @@ _ob_try_load_messages() if [ x"${OB_EXE_BUILDDIR:+set}" = 'xset' ]; then # Set and not null ms="${OB_EXE_BUILDDIR}" - ms="${ms}/locale/${locale}/${_ob_text_domain}.ms" + ms="${ms}/${locale}/${_ob_text_domain}.ms" else ms="${LOCALEDIR}" ms="${ms}/${locale}/LC_MESSAGES/${_ob_text_domain}.ms" @@ -141,7 +141,7 @@ _ob_try_load_internal_messages() 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" + ms="${ms}/${locale}/${_OB_INTERNAL_TEXT_DOMAIN}.ms" else ms="${LOCALEDIR}" ms="${ms}/${locale}/LC_MESSAGES/${_OB_INTERNAL_TEXT_DOMAIN}.ms" -- cgit v0.9.1