summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 5c89cd8a5a5..c44d5d72e04 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