Skip to content

Commit

Permalink
dev-libs/apr-util: [QA] Fix UnnecessarySlashStrip
Browse files Browse the repository at this point in the history
Signed-off-by: David Seifert <[email protected]>
  • Loading branch information
SoapGentoo committed Feb 8, 2020
1 parent 80e2fc4 commit 6fe95a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dev-libs/apr-util/apr-util-1.6.1-r3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ src_install() {
default

find "${ED}" -name "*.la" -delete || die
if [[ -d "${ED%/}/usr/$(get_libdir)/apr-util-${SLOT}" ]] ; then
find "${ED%/}/usr/$(get_libdir)/apr-util-${SLOT}" -name "*.a" -delete || die
if [[ -d "${ED}/usr/$(get_libdir)/apr-util-${SLOT}" ]] ; then
find "${ED}/usr/$(get_libdir)/apr-util-${SLOT}" -name "*.a" -delete || die
fi
if ! use static-libs ; then
find "${ED}" -name "*.a" -not -name "*$(get_libname)" -delete || die
Expand All @@ -140,5 +140,5 @@ src_install() {

# This file is only used on AIX systems, which Gentoo is not,
# and causes collisions between the SLOTs, so remove it.
rm "${ED%/}/usr/$(get_libdir)/aprutil.exp" || die
rm "${ED}/usr/$(get_libdir)/aprutil.exp" || die
}

0 comments on commit 6fe95a4

Please sign in to comment.