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-08-03 23:10:09 +0200
commitc37e1d1c35eadddf5201e58407f0e5022f0a0741 (patch)
tree94c90043f96f5aa5de4b81fd4296572a5a96baa4
parentGentoo: Disable test that fails because of the gethostbyname4_r revert (diff)
downloadglibc-c37e1d1c35eadddf5201e58407f0e5022f0a0741.tar.gz
glibc-c37e1d1c35eadddf5201e58407f0e5022f0a0741.tar.bz2
glibc-c37e1d1c35eadddf5201e58407f0e5022f0a0741.zip
[no-patch] locale-gen: suppress ignored error when emptying already empty directorygentoo/glibc-2.28-1
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