commit:     d4e24ca4e1d0587c85126df916c1e12e9dde9c4f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  8 12:50:13 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov  8 12:50:13 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4e24ca4

media-gfx/xsane: fix AbsoluteSymlink

I don't see an easy way (right now) to figure out
how deep the GIMP path will be, so let's do this instead.

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/xsane/xsane-0.999-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/xsane/xsane-0.999-r3.ebuild 
b/media-gfx/xsane/xsane-0.999-r3.ebuild
index c3854c395cb..21fc69c4858 100644
--- a/media-gfx/xsane/xsane-0.999-r3.ebuild
+++ b/media-gfx/xsane/xsane-0.999-r3.ebuild
@@ -83,7 +83,7 @@ src_install() {
                        die "Can't find GIMP plugin directory."
                fi
                dodir "${plugindir#${EPREFIX}}"
-               dosym /usr/bin/xsane "${plugindir#${EPREFIX}}"/xsane
+               dosym "${EPREFIX}/usr/bin/xsane" "${plugindir#${EPREFIX}}"/xsane
        fi
 
        newicon "${DISTDIR}/${PN}-256x256.png" "${PN}".png

Reply via email to