commit:     6b9203dad8e93d7400c0ab0ffdfd617176325364
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 13 21:45:59 2024 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Jun 17 09:27:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b9203da

app-shells/atuin: Use new cargo_target_dir helper

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

 app-shells/atuin/atuin-18.2.0.ebuild | 2 +-
 app-shells/atuin/atuin-18.3.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-shells/atuin/atuin-18.2.0.ebuild 
b/app-shells/atuin/atuin-18.2.0.ebuild
index 246cccde6449..bab19b883463 100644
--- a/app-shells/atuin/atuin-18.2.0.ebuild
+++ b/app-shells/atuin/atuin-18.2.0.ebuild
@@ -493,7 +493,7 @@ src_configure() {
 src_compile() {
        cargo_src_compile
 
-       ATUIN_BIN="target/$(usex debug debug release)/${PN}"
+       ATUIN_BIN="$(cargo_target_dir)/${PN}"
 
        # Prepare shell completion generation
        mkdir completions || die

diff --git a/app-shells/atuin/atuin-18.3.0.ebuild 
b/app-shells/atuin/atuin-18.3.0.ebuild
index dad51de2291c..94ea5c432867 100644
--- a/app-shells/atuin/atuin-18.3.0.ebuild
+++ b/app-shells/atuin/atuin-18.3.0.ebuild
@@ -505,7 +505,7 @@ src_configure() {
 src_compile() {
        cargo_src_compile
 
-       ATUIN_BIN="target/$(usex debug debug release)/${PN}"
+       ATUIN_BIN="$(cargo_target_dir)/${PN}"
 
        # Prepare shell completion generation
        mkdir completions || die

Reply via email to