summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/libbase58/libbase58-0.1.4-r1.ebuild5
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
}