summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2018-10-22 14:01:37 +0200
committerFabian Groffen <grobian@gentoo.org>2018-10-22 14:01:37 +0200
commitc0f6cb600653da5a86d417fd562d3afc9b18c78e (patch)
tree214831f2babd866fa63288c0c4355dd7c16424b2 /dev-vcs
parentapp-arch/dpkg-1.19.2-r0: add ~alpha keyword (diff)
downloadgentoo-c0f6cb600653da5a86d417fd562d3afc9b18c78e.tar.gz
gentoo-c0f6cb600653da5a86d417fd562d3afc9b18c78e.tar.bz2
gentoo-c0f6cb600653da5a86d417fd562d3afc9b18c78e.zip
dev-vcs/mercurial: fix double prefix
Signed-off-by: Fabian Groffen <grobian@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/mercurial/mercurial-4.7.2.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-vcs/mercurial/mercurial-4.7.2.ebuild b/dev-vcs/mercurial/mercurial-4.7.2.ebuild
index 2b7e1bbf0e2..60e5ed59b65 100644
--- a/dev-vcs/mercurial/mercurial-4.7.2.ebuild
+++ b/dev-vcs/mercurial/mercurial-4.7.2.ebuild
@@ -93,7 +93,8 @@ python_install_all() {
doins "${FILESDIR}/cacerts.rc"
# symlink to system zstd
- dosym ../zstd.so $(python_get_sitedir)/${PN}/zstd.so
+ local sitedir=$(python_get_sitedir)
+ dosym ../zstd.so "${sitedir#${EPREFIX}}"/${PN}/zstd.so
}
src_test() {