summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2024-06-14 10:45:43 +0100
committerJames Le Cuirot <chewi@gentoo.org>2024-06-17 10:36:51 +0100
commita437d14ac57c0afaca1e051358e45d25017aec87 (patch)
tree7ab1a8bbb77afef07e113894b132498b2ea721fc /app-misc/broot
parentapp-benchmarks/hyperfine: Use new cargo_target_dir helper (diff)
downloadgentoo-a437d14ac57c0afaca1e051358e45d25017aec87.tar.gz
gentoo-a437d14ac57c0afaca1e051358e45d25017aec87.tar.bz2
gentoo-a437d14ac57c0afaca1e051358e45d25017aec87.zip
app-misc/broot: Use new cargo_target_dir helper
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'app-misc/broot')
-rw-r--r--app-misc/broot/broot-1.36.1.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-misc/broot/broot-1.36.1.ebuild b/app-misc/broot/broot-1.36.1.ebuild
index 04deac410313..6bb01da74057 100644
--- a/app-misc/broot/broot-1.36.1.ebuild
+++ b/app-misc/broot/broot-1.36.1.ebuild
@@ -367,7 +367,7 @@ src_install() {
doman "${T}"/${PN}.1
- local build_dir=( target/$(usex debug{,} release)/build/${PN}-*/out )
+ local build_dir=( "$(cargo_target_dir)"/build/${PN}-*/out )
cd ${build_dir[0]} || die
newbashcomp ${PN}.bash ${PN}