From 6fe95a45bb4cd24e576a22f0f75926b2f2a97b48 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 8 Feb 2020 17:21:27 +0100 Subject: dev-libs/apr-util: [QA] Fix UnnecessarySlashStrip Signed-off-by: David Seifert --- dev-libs/apr-util/apr-util-1.6.1-r3.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dev-libs/apr-util') diff --git a/dev-libs/apr-util/apr-util-1.6.1-r3.ebuild b/dev-libs/apr-util/apr-util-1.6.1-r3.ebuild index 69df78180409..98432bf891bd 100644 --- a/dev-libs/apr-util/apr-util-1.6.1-r3.ebuild +++ b/dev-libs/apr-util/apr-util-1.6.1-r3.ebuild @@ -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 @@ -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 } -- cgit v1.2.3-65-gdbad