commit: 8b5ee01bd826809eda716d591af171e075981fc4
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 13 21:43:29 2024 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Jun 17 09:27:46 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b5ee01b
app-forensics/yara-x: Use new cargo_target_dir helper
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
app-forensics/yara-x/yara-x-0.4.0.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-forensics/yara-x/yara-x-0.4.0.ebuild
b/app-forensics/yara-x/yara-x-0.4.0.ebuild
index d5ae4cdb0be4..2786cd4fb4d5 100644
--- a/app-forensics/yara-x/yara-x-0.4.0.ebuild
+++ b/app-forensics/yara-x/yara-x-0.4.0.ebuild
@@ -571,8 +571,8 @@ src_test() {
}
src_install() {
- dobin target/$(usex debug "debug" "release")/yr
- dolib.so target/$(usex debug "debug" "release")/*.so
+ dobin "$(cargo_target_dir)"/yr
+ dolib.so "$(cargo_target_dir)"/*.so
wrap_python ${FUNCNAME}
}