summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2023-02-26 09:52:52 +0200
committerJoonas Niilola <juippis@gentoo.org>2023-02-26 09:53:19 +0200
commit6d89fdf083f1d8030cf731c90b4b3b2be2ebe76a (patch)
tree7424c0405bc3d99c25d86b595adc16b50708d49e /sys-process/bottom
parentsys-process/bottom: Add 0.8.0 (diff)
downloadgentoo-6d89fdf083f1d8030cf731c90b4b3b2be2ebe76a.tar.gz
gentoo-6d89fdf083f1d8030cf731c90b4b3b2be2ebe76a.tar.bz2
gentoo-6d89fdf083f1d8030cf731c90b4b3b2be2ebe76a.zip
sys-process/bottom: add some error handling to 0.8.0
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sys-process/bottom')
-rw-r--r--sys-process/bottom/bottom-0.8.0.ebuild2
1 files changed, 1 insertions, 1 deletions
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