diff options
author | Sam James <sam@gentoo.org> | 2024-03-23 19:01:06 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-23 19:01:30 +0000 |
commit | 366f99366481f7f34ce30e4fc85f50e4dc7e4a48 (patch) | |
tree | 160500b4126283cf29ed3e9abfc403b2ff83d0a5 /eclass/toolchain.eclass | |
parent | profiles/features/musl: mask www-apps/jellyfin-bin (diff) | |
download | gentoo-366f99366481f7f34ce30e4fc85f50e4dc7e4a48.tar.gz gentoo-366f99366481f7f34ce30e4fc85f50e4dc7e4a48.tar.bz2 gentoo-366f99366481f7f34ce30e4fc85f50e4dc7e4a48.zip |
toolchain.eclass: another error handling fix
Fixes: f81ec884754b3f3d3720d40b212e12ef364821c5
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r-- | eclass/toolchain.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index cd63712b1f24..331e107bacf3 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -2089,8 +2089,9 @@ toolchain_src_install() { docompress "${DATAPATH}"/{info,man} - # Prune empty dirs left behind - find "${ED}" -depth -type d -delete 2>/dev/null || die + # Prune empty dirs left behind. It's fine not to die here as we may + # really have no empty dirs left. + find "${ED}" -depth -type d -delete 2>/dev/null # libstdc++.la: Delete as it doesn't add anything useful: g++ itself # handles linkage correctly in the dynamic & static case. It also just |