diff options
author | Joonas Niilola <juippis@gentoo.org> | 2020-10-05 17:31:48 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-10-05 17:32:09 +0300 |
commit | aea981b2e5871a0853a28e73a8e5cada5bb4054b (patch) | |
tree | a93462d45c23d6b050ff52c76efd78eda722ed59 /dev-libs/libbase58 | |
parent | media-sound/mpd: fix io_uring initialization with OpenRC service (diff) | |
download | gentoo-aea981b2e5871a0853a28e73a8e5cada5bb4054b.tar.gz gentoo-aea981b2e5871a0853a28e73a8e5cada5bb4054b.tar.bz2 gentoo-aea981b2e5871a0853a28e73a8e5cada5bb4054b.zip |
dev-libs/libbase58: add even better check for TRASH dir on 0.1.4-r1
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/libbase58')
-rw-r--r-- | dev-libs/libbase58/libbase58-0.1.4-r1.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-libs/libbase58/libbase58-0.1.4-r1.ebuild b/dev-libs/libbase58/libbase58-0.1.4-r1.ebuild index 1cf48ca77e41..375b6956313a 100644 --- a/dev-libs/libbase58/libbase58-0.1.4-r1.ebuild +++ b/dev-libs/libbase58/libbase58-0.1.4-r1.ebuild @@ -46,7 +46,8 @@ multilib_src_configure() { } multilib_src_install_all() { - if [[ -d ${ED}/TRASH ]]; then - rm -r "${ED}/TRASH" || die + if use test; then + # It's hard to control this directory with multilib_is_native_abi && use tools, hence -f. + rm -rf "${ED}/TRASH" || die fi } |