summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-process')
-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