commit:     f1257dfe4e73172c311209bfff42c5457719489f
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 27 06:21:01 2019 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sun Jan 27 06:21:01 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1257dfe

media-gfx/scrot: correct Prefix path.

Suggested-By: Susan Wilson
Closes: https://bugs.gentoo.org/675820
Closes: https://github.com/gentoo/gentoo/pull/10909
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>

 media-gfx/scrot/scrot-0.8_p13-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-gfx/scrot/scrot-0.8_p13-r1.ebuild 
b/media-gfx/scrot/scrot-0.8_p13-r1.ebuild
index 46e7b729c2c..f3270d6118d 100644
--- a/media-gfx/scrot/scrot-0.8_p13-r1.ebuild
+++ b/media-gfx/scrot/scrot-0.8_p13-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -31,7 +31,7 @@ src_prepare() {
 
 src_install() {
        emake DESTDIR="${D}" install
-       rm -r "${D}"/usr/doc || die
+       rm -r "${ED}"/usr/doc || die
        dodoc AUTHORS ChangeLog
 
        newbashcomp "${FILESDIR}"/${PN}.bash-completion ${PN}

Reply via email to