summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-12-16 10:38:34 +0100
committerMichał Górny <mgorny@gentoo.org>2019-12-16 10:39:38 +0100
commitbafaf294160c9435ae474ba551e2e5744c0423e2 (patch)
tree706e153de6c8f6da90e6f2898131aeae852f0f1b /media-gfx
parentapp-eselect/eselect-opencl: [QA] Fix AbsoluteSymlink (diff)
downloadgentoo-bafaf294160c9435ae474ba551e2e5744c0423e2.tar.gz
gentoo-bafaf294160c9435ae474ba551e2e5744c0423e2.tar.bz2
gentoo-bafaf294160c9435ae474ba551e2e5744c0423e2.zip
media-gfx/iscan: Remove humongous relative symlink hack
The gimp plugin directory path is predictable, we do not need to call realpath for it. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/iscan/iscan-2.30.4.2.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/media-gfx/iscan/iscan-2.30.4.2.ebuild b/media-gfx/iscan/iscan-2.30.4.2.ebuild
index 90d8c1c878c2..4be72d181288 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 $(realpath -s --relative-to="${gimpplugindir}" "${EPREFIX}/usr/bin/iscan" || die) "${gimpplugindir}"/iscan
+ dosym ../../../../bin/iscan "${gimpplugindir}"/iscan
else
ewarn "No idea where to find the gimp plugin directory"
fi