summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'locale-gen')
-rwxr-xr-xlocale-gen6
1 files changed, 3 insertions, 3 deletions
diff --git a/locale-gen b/locale-gen
index 8d27202..d0e109e 100755
--- a/locale-gen
+++ b/locale-gen
@@ -124,17 +124,17 @@ fi
: "${EROOT:=${EPREFIX}/}"
if [[ ${EROOT} != "/" ]] ; then
- einfo "Using locale.gen from ${EROOT}etc/"
+ einfo "Using locale.gen from ${EROOT%/}/etc/"
fi
if [[ -n ${DESTDIR} ]] ; then
DESTDIR="${DESTDIR%/}/"
einfo "Building locales in DESTDIR '${DESTDIR}'"
else
- DESTDIR=${EROOT}
+ DESTDIR="${EROOT%/}/"
fi
-: "${CONFIG:=${EROOT}etc/locale.gen}"
+: "${CONFIG:=${EROOT%/}/etc/locale.gen}"
LOCALES=${DESTDIR}usr/share/i18n/locales
CHARMAPS=${DESTDIR}usr/share/i18n/charmaps
SUPPORTED=${DESTDIR}usr/share/i18n/SUPPORTED