media-gfx/scrot: correct Prefix path.
authorBenda Xu <heroxbd@gentoo.org>
Sun, 27 Jan 2019 06:21:01 +0000 (14:21 +0800)
committerBenda Xu <heroxbd@gentoo.org>
Sun, 27 Jan 2019 06:21:01 +0000 (14:21 +0800)
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@gentoo.org>
media-gfx/scrot/scrot-0.8_p13-r1.ebuild

index 46e7b729c2ccba6bcf0f2332d48b3b85e363f62f..f3270d6118dce8d7cf2f5ecef39fd3f91965f964 100644 (file)
@@ -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}