commit:     fe015b2c6b786bb404087248673686d3666c1e7e
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 14 09:46:49 2024 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Jun 17 09:37:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe015b2c

sys-process/procs: Use new cargo_target_dir helper

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

 sys-process/procs/procs-0.14.4.ebuild | 8 ++++----
 sys-process/procs/procs-0.14.5.ebuild | 6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/sys-process/procs/procs-0.14.4.ebuild 
b/sys-process/procs/procs-0.14.4.ebuild
index ed9880991d01..fd08a1055ff8 100644
--- a/sys-process/procs/procs-0.14.4.ebuild
+++ b/sys-process/procs/procs-0.14.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # Autogenerated by pycargoebuild 0.6.3
@@ -280,14 +280,14 @@ QA_FLAGS_IGNORED="usr/bin/procs"
 src_install() {
        cargo_src_install
 
-       target/$(usex debug debug release)/procs --gen-completion bash || die
+       "$(cargo_target_dir)"/procs --gen-completion bash || die
        newbashcomp procs.bash procs
 
-       target/$(usex debug debug release)/procs --gen-completion zsh || die
+       "$(cargo_target_dir)"/procs --gen-completion zsh || die
        insinto /usr/share/zsh/site-functions
        doins _procs
 
-       target/$(usex debug debug release)/procs --gen-completion fish || die
+       "$(cargo_target_dir)"/procs --gen-completion fish || die
        insinto /usr/share/fish/vendor_completions.d
        doins procs.fish
 }

diff --git a/sys-process/procs/procs-0.14.5.ebuild 
b/sys-process/procs/procs-0.14.5.ebuild
index a306320fc092..5447e7e7fc4c 100644
--- a/sys-process/procs/procs-0.14.5.ebuild
+++ b/sys-process/procs/procs-0.14.5.ebuild
@@ -308,14 +308,14 @@ QA_FLAGS_IGNORED="usr/bin/procs"
 src_install() {
        cargo_src_install
 
-       target/$(usex debug debug release)/procs --gen-completion bash || die
+       "$(cargo_target_dir)"/procs --gen-completion bash || die
        newbashcomp procs.bash procs
 
-       target/$(usex debug debug release)/procs --gen-completion zsh || die
+       "$(cargo_target_dir)"/procs --gen-completion zsh || die
        insinto /usr/share/zsh/site-functions
        doins _procs
 
-       target/$(usex debug debug release)/procs --gen-completion fish || die
+       "$(cargo_target_dir)"/procs --gen-completion fish || die
        insinto /usr/share/fish/vendor_completions.d
        doins procs.fish
 }

Reply via email to