1 |
commit: 5bb557be0105d41e53a7c4dfdc8835ba238b6063 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 11 17:40:22 2021 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 11 18:21:28 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bb557be |
7 |
|
8 |
app-misc/broot: fix install with USE=debug |
9 |
|
10 |
With USE=debug, two -*/out exist (came contents) and the |
11 |
path changes. Using an array to select only one path. |
12 |
|
13 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
14 |
|
15 |
app-misc/broot/broot-1.6.4.ebuild | 3 ++- |
16 |
1 file changed, 2 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/app-misc/broot/broot-1.6.4.ebuild b/app-misc/broot/broot-1.6.4.ebuild |
19 |
index 5c89cd8a5a5..c44d5d72e04 100644 |
20 |
--- a/app-misc/broot/broot-1.6.4.ebuild |
21 |
+++ b/app-misc/broot/broot-1.6.4.ebuild |
22 |
@@ -250,7 +250,8 @@ src_install() { |
23 |
|
24 |
doman "${T}"/${PN}.1 |
25 |
|
26 |
- cd target/release/build/${PN}-*/out || die |
27 |
+ local build_dir=( target/$(usex debug{,} release)/build/${PN}-*/out ) |
28 |
+ cd ${build_dir[0]} || die |
29 |
|
30 |
newbashcomp ${PN}.bash ${PN} |
31 |
newbashcomp br.bash br |