diff options
author | WANG Xuerui <xen0n@gentoo.org> | 2022-07-29 20:24:38 +0800 |
---|---|---|
committer | WANG Xuerui <xen0n@gentoo.org> | 2022-07-29 20:26:46 +0800 |
commit | 5da24bc82e365fc216c4cc9b90f124e85adc3144 (patch) | |
tree | ae738a46220c9711d6f6bb057f3cc68c7d8162db /sys-devel | |
parent | profiles: add experimental riscv64-lp64 musl profile (diff) | |
download | gentoo-5da24bc82e365fc216c4cc9b90f124e85adc3144.tar.gz gentoo-5da24bc82e365fc216c4cc9b90f124e85adc3144.tar.bz2 gentoo-5da24bc82e365fc216c4cc9b90f124e85adc3144.zip |
sys-devel/binutils: 9999: don't die on already clean installed tree
Otherwise src_install fails with current main branch of binutils-gdb.
This changes the 9999 ebuild to share the same behavior with the 2.38
ebuilds.
Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/binutils/binutils-9999.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-devel/binutils/binutils-9999.ebuild b/sys-devel/binutils/binutils-9999.ebuild index ec3589ae100a..194080fc1e25 100644 --- a/sys-devel/binutils/binutils-9999.ebuild +++ b/sys-devel/binutils/binutils-9999.ebuild @@ -417,10 +417,10 @@ src_install() { fi # Remove shared info pages - rm -f "${ED}"/${DATAPATH}/info/{dir,configure.info,standards.info} || die + rm -f "${ED}"/${DATAPATH}/info/{dir,configure.info,standards.info} # Trim all empty dirs - find "${ED}" -depth -type d -exec rmdir {} + 2>/dev/null || die + find "${ED}" -depth -type d -exec rmdir {} + 2>/dev/null } pkg_postinst() { |