commit:     7e5213b08ce4a0dd39e8582487cd31f06210400e
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  7 00:53:26 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Dec  7 00:54:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e5213b0

games-puzzle/pathological: add missing || die

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-puzzle/pathological/pathological-1.1.3_p16-r3.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/games-puzzle/pathological/pathological-1.1.3_p16-r3.ebuild 
b/games-puzzle/pathological/pathological-1.1.3_p16-r3.ebuild
index 0c32cefd318d..a16de8ecbe0d 100644
--- a/games-puzzle/pathological/pathological-1.1.3_p16-r3.ebuild
+++ b/games-puzzle/pathological/pathological-1.1.3_p16-r3.ebuild
@@ -36,7 +36,8 @@ PATCHES=(
 src_prepare() {
        # debian's patches add python3 support and sanitize other aspects
        # use_ogg_music: excluded given .xm files are fine
-       local debian=($(<"${WORKDIR}"/debian/patches/series))
+       local debian
+       debian=($(<"${WORKDIR}"/debian/patches/series)) || die
        debian=(${debian[@]/60_use_ogg_music.patch/})
        PATCHES+=("${debian[@]/#/${WORKDIR}/debian/patches/}")
 

Reply via email to