commit:     6ece9cf35268142766535fa482288743e89dd33c
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  8 05:48:13 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Dec  8 05:53:09 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ece9cf3

dev-python/backrefs: add missing dies

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

 dev-python/backrefs/backrefs-4.5.0.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/backrefs/backrefs-4.5.0.ebuild 
b/dev-python/backrefs/backrefs-4.5.0.ebuild
index acb18049bdd..76f334eeed6 100644
--- a/dev-python/backrefs/backrefs-4.5.0.ebuild
+++ b/dev-python/backrefs/backrefs-4.5.0.ebuild
@@ -38,11 +38,11 @@ distutils_enable_tests pytest
 python_prepare_all() {
        # mkdocs-git-revision-date-localized-plugin needs git repo
        if use doc; then
-               git init
+               git init || die
                git config --global user.email "y...@example.com" || die
                git config --global user.name "Your Name" || die
-               git add .
-               git commit -m 'init'
+               git add . || die
+               git commit -m 'init' || die
        fi
 
        distutils-r1_python_prepare_all

Reply via email to