summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-10-11 13:40:22 -0400
committerIonen Wolkens <ionen@gentoo.org>2021-10-11 14:21:28 -0400
commit5bb557be0105d41e53a7c4dfdc8835ba238b6063 (patch)
treefe82879e9a90370d538f8e3f10031814a2bd0e41 /app-misc
parentapp-misc/broot: bump to 1.6.4 (diff)
downloadgentoo-5bb557be0105d41e53a7c4dfdc8835ba238b6063.tar.gz
gentoo-5bb557be0105d41e53a7c4dfdc8835ba238b6063.tar.bz2
gentoo-5bb557be0105d41e53a7c4dfdc8835ba238b6063.zip
app-misc/broot: fix install with USE=debug
With USE=debug, two -*/out exist (came contents) and the path changes. Using an array to select only one path. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/broot/broot-1.6.4.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/app-misc/broot/broot-1.6.4.ebuild b/app-misc/broot/broot-1.6.4.ebuild
index 5c89cd8a5a52..c44d5d72e043 100644
--- a/app-misc/broot/broot-1.6.4.ebuild
+++ b/app-misc/broot/broot-1.6.4.ebuild
@@ -250,7 +250,8 @@ src_install() {
doman "${T}"/${PN}.1
- cd target/release/build/${PN}-*/out || die
+ local build_dir=( target/$(usex debug{,} release)/build/${PN}-*/out )
+ cd ${build_dir[0]} || die
newbashcomp ${PN}.bash ${PN}
newbashcomp br.bash br