media-gfx/iscan: Removed ${ED} for PMS-compliant package managers.
authorMatthew Schultz <mattsch@gmail.com>
Mon, 11 Nov 2019 05:17:56 +0000 (23:17 -0600)
committerJoonas Niilola <juippis@gentoo.org>
Wed, 20 Nov 2019 06:03:24 +0000 (08:03 +0200)
Closes: https://bugs.gentoo.org/699498
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Matthew Schultz <mattsch@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/13607
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
media-gfx/iscan/iscan-2.30.4.2.ebuild

index a82b27d06c6f5b30830967b5dcf0651036a4ffa6..90d8c1c878c273fdd2ad42fd058e5698cb976b0a 100644 (file)
@@ -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