commit:     c0f6cb600653da5a86d417fd562d3afc9b18c78e
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 22 12:01:37 2018 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Oct 22 12:01:37 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0f6cb60

dev-vcs/mercurial: fix double prefix

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 dev-vcs/mercurial/mercurial-4.7.2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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() {

Reply via email to