commit:     1b85ea16401ea9076f5fd17286f58d97ad6db245
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 13 21:34:51 2024 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Jun 17 09:27:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b85ea16

net-misc/hurl: Use new cargo_target_dir helper

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

 net-misc/hurl/hurl-4.1.0.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/net-misc/hurl/hurl-4.1.0.ebuild b/net-misc/hurl/hurl-4.1.0.ebuild
index f180dcb7aa7a..856d7cca73a5 100644
--- a/net-misc/hurl/hurl-4.1.0.ebuild
+++ b/net-misc/hurl/hurl-4.1.0.ebuild
@@ -195,8 +195,7 @@ QA_FLAGS_IGNORED=(
 QA_PRESTRIPPED="${QA_FLAGS_IGNORED[*]}"
 
 src_install() {
-       local target_dir="$(usex debug debug release)"
-       dobin target/"${target_dir}"/hurl{,fmt}
+       dobin "$(cargo_target_dir)"/hurl{,fmt}
        doman docs/manual/hurl{,fmt}.1
 
        dodoc CHANGELOG.md README.md LICENSE

Reply via email to