commit:     97a9222f13c5a0bf0283faef25fa9d75633315da
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 16 09:21:03 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Mar 16 09:26:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97a9222f

app-crypt/pkcrack: add missing dies

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-crypt/pkcrack/pkcrack-1.2.2-r2.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/app-crypt/pkcrack/pkcrack-1.2.2-r2.ebuild 
b/app-crypt/pkcrack/pkcrack-1.2.2-r2.ebuild
index 5136a4111629..877601fbf5eb 100644
--- a/app-crypt/pkcrack/pkcrack-1.2.2-r2.ebuild
+++ b/app-crypt/pkcrack/pkcrack-1.2.2-r2.ebuild
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
+
 inherit toolchain-funcs
 
 DESCRIPTION="PkZip cipher breaker"
@@ -34,18 +35,18 @@ PATCHES=(
 )
 
 src_compile() {
-       cd src
+       cd src || die
        emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}" all
 }
 
 src_test() {
-       cd test
+       cd test || die
        emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}" all
 }
 
 src_install() {
        einstalldocs
-       cd src
+       cd src || die
        dobin pkcrack zipdecrypt findkey makekey
        newbin extract "${PN}-extract"
 }

Reply via email to