commit:     18193fd19d12f3b8a3a7947d72d572f86dde0b28
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  8 16:52:23 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Feb  8 16:52:23 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18193fd1

sys-apps/groff: [QA] Fix UnnecessarySlashStrip

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sys-apps/groff/groff-1.22.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/groff/groff-1.22.4.ebuild 
b/sys-apps/groff/groff-1.22.4.ebuild
index 5cc2095734e..f24193f78f4 100644
--- a/sys-apps/groff/groff-1.22.4.ebuild
+++ b/sys-apps/groff/groff-1.22.4.ebuild
@@ -43,7 +43,7 @@ src_prepare() {
        default
 
        # honor Gentoo's docdir
-       sed -i -e "s|^docdir =.*|docdir = 
\"${EPREFIX%/}/usr/share/doc/${PF}\"|g" \
+       sed -i -e "s|^docdir =.*|docdir = \"${EPREFIX}/usr/share/doc/${PF}\"|g" 
\
                Makefile.in \
                || die "failed to modify Makefile.in"
 
@@ -61,7 +61,7 @@ src_prepare() {
 
 src_configure() {
        local myeconfargs=(
-               --with-appresdir="${EPREFIX%/}"/usr/share/X11/app-defaults
+               --with-appresdir="${EPREFIX}"/usr/share/X11/app-defaults
                $(use_with X x)
        )
        econf "${myeconfargs[@]}"

Reply via email to