aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2018-02-10 16:27:30 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2018-03-04 22:29:23 +0100
commitfdb125ee950e76bb609853f6c216899b39ce206a (patch)
tree0e99028b593ed8a4e12385b15c40f4dfad605f00
parent[no-patch] Make patchset generation script also work with master (diff)
downloadglibc-gentoo/2.19.tar.gz
glibc-gentoo/2.19.tar.bz2
glibc-gentoo/2.19.zip
[no-patch] locale-gen: suppress ignored error when emptying already empty directorygentoo/glibc-2.19-9gentoo/2.19
Closes: https://bugs.gentoo.org/647188
-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