aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gentoo/extra/locale/locale-gen')
-rwxr-xr-xscripts/gentoo/extra/locale/locale-gen2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gentoo/extra/locale/locale-gen b/scripts/gentoo/extra/locale/locale-gen
index 6653caddc2..fc861f4623 100755
--- a/scripts/gentoo/extra/locale/locale-gen
+++ b/scripts/gentoo/extra/locale/locale-gen
@@ -193,7 +193,7 @@ mkdir -p "${LOCALEDIR}"
if [[ -z ${KEEP} && -z ${UPDATE} ]] ; then
# Remove all old locale dir and locale-archive before generating new
# locale data. Scrubbing via update is done elsewhere.
- rm -rf "${LOCALEDIR}"/* || true
+ rm -rf "${LOCALEDIR}"/* &> /dev/null || true
fi
# Transform the name in locales.gen to the name used when storing