From 6d89fdf083f1d8030cf731c90b4b3b2be2ebe76a Mon Sep 17 00:00:00 2001 From: Joonas Niilola Date: Sun, 26 Feb 2023 09:52:52 +0200 Subject: [PATCH] sys-process/bottom: add some error handling to 0.8.0 Signed-off-by: Joonas Niilola --- 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 f48d77f43bf9d..ca32d135cf54c 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