diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2018-02-10 16:27:30 +0100 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2018-03-04 22:29:23 +0100 |
commit | fdb125ee950e76bb609853f6c216899b39ce206a (patch) | |
tree | 0e99028b593ed8a4e12385b15c40f4dfad605f00 | |
parent | [no-patch] Make patchset generation script also work with master (diff) | |
download | glibc-gentoo/glibc-2.19-9.tar.gz glibc-gentoo/glibc-2.19-9.tar.bz2 glibc-gentoo/glibc-2.19-9.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-x | scripts/gentoo/extra/locale/locale-gen | 2 |
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 |