From da9d5d7a94b3c7364f647f00cd7c6cc3b779a1e3 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 15 Aug 2014 19:01:14 -0400 Subject: load_locale(): Support in-place execution --- (limited to 'lib') diff --git a/lib/locale.sh b/lib/locale.sh index 7189e0c..c3f4c9e 100644 --- a/lib/locale.sh +++ b/lib/locale.sh @@ -39,7 +39,11 @@ load_locale() fi fi - localedir="${LOCALEDIR}" + if ${in_place}; then + localedir="${srcdir}/locale" + else + localedir="${LOCALEDIR}" + fi # Try to load the locale. if ! _try_load_locale "${localedir}" \ -- cgit v0.9.1