mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
sys-process/bottom: add some error handling to 0.8.0
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user