summaryrefslogtreecommitdiff
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-06-13 23:57:21 +0200
commitaba214da1a265afe4dfa3b52bc356275a275a9aa (patch)
tree742cb2846c878d1af7c55060b08e09347052e838
parentGentoo: Disable test that fails because of the gethostbyname4_r revert (diff)
downloadglibc-aba214da1a265afe4dfa3b52bc356275a275a9aa.tar.gz
glibc-aba214da1a265afe4dfa3b52bc356275a275a9aa.tar.bz2
glibc-aba214da1a265afe4dfa3b52bc356275a275a9aa.zip
[no-patch] locale-gen: suppress ignored error when emptying already empty directorygentoo/glibc-9999-6
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