summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlocale-gen1
1 files changed, 1 insertions, 0 deletions
diff --git a/locale-gen b/locale-gen
index b41258f..264cd23 100755
--- a/locale-gen
+++ b/locale-gen
@@ -127,6 +127,7 @@ if [[ ${EROOT} != "/" ]] ; then
fi
if [[ -n ${DESTDIR} ]] ; then
+ DESTDIR="${DESTDIR%/}/"
einfo "Building locales in DESTDIR '${DESTDIR}'"
else
DESTDIR=${EROOT}