commit:     676396715b909dc72320cb5adddac3ea654fb76b
Author:     Matthew Schultz <mattsch <AT> gmail <DOT> com>
AuthorDate: Mon Nov 11 05:17:56 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Nov 20 06:03:24 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67639671

media-gfx/iscan: Removed ${ED} for PMS-compliant package managers.

Closes: https://bugs.gentoo.org/699498
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Matthew Schultz <mattsch <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/13607
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-gfx/iscan/iscan-2.30.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/iscan/iscan-2.30.4.2.ebuild 
b/media-gfx/iscan/iscan-2.30.4.2.ebuild
index a82b27d06c6..90d8c1c878c 100644
--- a/media-gfx/iscan/iscan-2.30.4.2.ebuild
+++ b/media-gfx/iscan/iscan-2.30.4.2.ebuild
@@ -126,7 +126,7 @@ src_install() {
                done
                if [[ "/plug-ins" != "${gimpplugindir}" ]]; then
                        dodir ${gimpplugindir}
-                       dosym "${ED%/}"/usr/bin/iscan "${gimpplugindir}"/iscan
+                       dosym $(realpath -s --relative-to="${gimpplugindir}" 
"${EPREFIX}/usr/bin/iscan" || die) "${gimpplugindir}"/iscan
                else
                        ewarn "No idea where to find the gimp plugin directory"
                fi

Reply via email to