summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2024-06-13 22:51:10 +0100
committerJames Le Cuirot <chewi@gentoo.org>2024-06-17 10:27:51 +0100
commit490b75dbee0872283a01d8e8f9d32c04e381ba7c (patch)
tree7b6c74a794880261b6042b34d12fd4434e8ae66d /dev-vcs/mercurial
parentdev-util/ruff: Use new cargo_target_dir helper (diff)
downloadgentoo-490b75dbee0872283a01d8e8f9d32c04e381ba7c.tar.gz
gentoo-490b75dbee0872283a01d8e8f9d32c04e381ba7c.tar.bz2
gentoo-490b75dbee0872283a01d8e8f9d32c04e381ba7c.zip
dev-vcs/mercurial: Use new cargo_target_dir helper
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'dev-vcs/mercurial')
-rw-r--r--dev-vcs/mercurial/mercurial-6.5.3.ebuild2
-rw-r--r--dev-vcs/mercurial/mercurial-6.6.2.ebuild2
-rw-r--r--dev-vcs/mercurial/mercurial-6.7.4.ebuild2
-rw-r--r--dev-vcs/mercurial/mercurial-9999.ebuild2
4 files changed, 4 insertions, 4 deletions
diff --git a/dev-vcs/mercurial/mercurial-6.5.3.ebuild b/dev-vcs/mercurial/mercurial-6.5.3.ebuild
index 69931dc438d2..ab3945e86821 100644
--- a/dev-vcs/mercurial/mercurial-6.5.3.ebuild
+++ b/dev-vcs/mercurial/mercurial-6.5.3.ebuild
@@ -281,7 +281,7 @@ python_install_all() {
RM_CONTRIB+=( chg )
fi
if use rust; then
- dobin rust/target/release/rhg
+ dobin "rust/$(cargo_target_dir)/rhg"
fi
for f in ${RM_CONTRIB[@]}; do
diff --git a/dev-vcs/mercurial/mercurial-6.6.2.ebuild b/dev-vcs/mercurial/mercurial-6.6.2.ebuild
index c5b2c982def7..6e0daef5f51e 100644
--- a/dev-vcs/mercurial/mercurial-6.6.2.ebuild
+++ b/dev-vcs/mercurial/mercurial-6.6.2.ebuild
@@ -291,7 +291,7 @@ python_install_all() {
RM_CONTRIB+=( chg )
fi
if use rust; then
- dobin rust/target/release/rhg
+ dobin "rust/$(cargo_target_dir)/rhg"
fi
for f in ${RM_CONTRIB[@]}; do
diff --git a/dev-vcs/mercurial/mercurial-6.7.4.ebuild b/dev-vcs/mercurial/mercurial-6.7.4.ebuild
index 1991a7cdef9b..90e4f7551850 100644
--- a/dev-vcs/mercurial/mercurial-6.7.4.ebuild
+++ b/dev-vcs/mercurial/mercurial-6.7.4.ebuild
@@ -302,7 +302,7 @@ python_install_all() {
RM_CONTRIB+=( chg )
fi
if use rust; then
- dobin rust/target/release/rhg
+ dobin "rust/$(cargo_target_dir)/rhg"
fi
for f in ${RM_CONTRIB[@]}; do
diff --git a/dev-vcs/mercurial/mercurial-9999.ebuild b/dev-vcs/mercurial/mercurial-9999.ebuild
index 6b16f427545a..d271835b7698 100644
--- a/dev-vcs/mercurial/mercurial-9999.ebuild
+++ b/dev-vcs/mercurial/mercurial-9999.ebuild
@@ -130,7 +130,7 @@ python_install_all() {
RM_CONTRIB+=( chg )
fi
if use rust; then
- dobin rust/target/release/rhg
+ dobin "rust/$(cargo_target_dir)/rhg"
fi
for f in ${RM_CONTRIB[@]}; do