commit: 6d89fdf083f1d8030cf731c90b4b3b2be2ebe76a
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 26 07:52:52 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Feb 26 07:53:19 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d89fdf0
sys-process/bottom: add some error handling to 0.8.0
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
sys-process/bottom/bottom-0.8.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys-process/bottom/bottom-0.8.0.ebuild
b/sys-process/bottom/bottom-0.8.0.ebuild
index f48d77f43bf9..ca32d135cf54 100644
--- a/sys-process/bottom/bottom-0.8.0.ebuild
+++ b/sys-process/bottom/bottom-0.8.0.ebuild
@@ -253,7 +253,7 @@ src_install() {
# Find generated shell completion files. btm.bash can be present in
multiple dirs if we build
# additional features, so grab the first match only.
- local BUILD_DIR="$(dirname $(find target -name btm.bash -print -quit))"
+ local BUILD_DIR="$(dirname $(find target -name btm.bash -print -quit ||
die) || die)"
newbashcomp "${BUILD_DIR}"/btm.bash btm