From e23c6753dbf96b08470e00c02169fdcbe7433c97 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 22 Jul 2017 20:28:37 -0400 Subject: load_locale(): Automatically set localedir when in build dir --- diff --git a/src/locale.sh b/src/locale.sh index d6b2204..9924d46 100644 --- a/src/locale.sh +++ b/src/locale.sh @@ -37,8 +37,8 @@ load_locale() fi fi - if [ "${ARCHMAN_LOCALEDIR+set}" = 'set' ]; then - localedir="${ARCHMAN_LOCALEDIR:-.}" + if ${in_place}; then + localedir="${builddir}/locale" else localedir="${LOCALEDIR}" fi -- cgit v0.9.1