commit:     7eb0d668b9ec964258285a7c15b70df3de0b766c
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 14 09:46:24 2024 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Jun 17 09:36:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7eb0d668

dev-vcs/git-absorb: Use new cargo_target_dir helper

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 dev-vcs/git-absorb/git-absorb-0.6.11-r1.ebuild | 2 +-
 dev-vcs/git-absorb/git-absorb-0.6.13-r1.ebuild | 2 +-
 dev-vcs/git-absorb/git-absorb-0.6.13.ebuild    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-vcs/git-absorb/git-absorb-0.6.11-r1.ebuild 
b/dev-vcs/git-absorb/git-absorb-0.6.11-r1.ebuild
index ae2ac7412a63..8bc9867defb2 100644
--- a/dev-vcs/git-absorb/git-absorb-0.6.11-r1.ebuild
+++ b/dev-vcs/git-absorb/git-absorb-0.6.11-r1.ebuild
@@ -96,7 +96,7 @@ QA_FLAGS_IGNORED="usr/bin/${PN}"
 src_compile() {
        cargo_src_compile
 
-       GIT_ABSORB_BIN="target/$(usex debug debug release)/${PN}"
+       GIT_ABSORB_BIN="$(cargo_target_dir)/${PN}"
 
        # Prepare shell completion generation
        mkdir completions || die

diff --git a/dev-vcs/git-absorb/git-absorb-0.6.13-r1.ebuild 
b/dev-vcs/git-absorb/git-absorb-0.6.13-r1.ebuild
index 11e455e2c06d..133c6490b757 100644
--- a/dev-vcs/git-absorb/git-absorb-0.6.13-r1.ebuild
+++ b/dev-vcs/git-absorb/git-absorb-0.6.13-r1.ebuild
@@ -132,7 +132,7 @@ src_compile() {
 
        cargo_src_compile
 
-       GIT_ABSORB_BIN="target/$(usex debug debug release)/${PN}"
+       GIT_ABSORB_BIN="$(cargo_target_dir)/${PN}"
 
        # Prepare shell completion generation
        mkdir completions || die

diff --git a/dev-vcs/git-absorb/git-absorb-0.6.13.ebuild 
b/dev-vcs/git-absorb/git-absorb-0.6.13.ebuild
index 116da04f2de9..2b900da6e9b8 100644
--- a/dev-vcs/git-absorb/git-absorb-0.6.13.ebuild
+++ b/dev-vcs/git-absorb/git-absorb-0.6.13.ebuild
@@ -124,7 +124,7 @@ QA_FLAGS_IGNORED="usr/bin/${PN}"
 src_compile() {
        cargo_src_compile
 
-       GIT_ABSORB_BIN="target/$(usex debug debug release)/${PN}"
+       GIT_ABSORB_BIN="$(cargo_target_dir)/${PN}"
 
        # Prepare shell completion generation
        mkdir completions || die

Reply via email to