diff options
-rw-r--r-- | src/locale.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |