commit:     320fcf034f5e860454e0d2a28ed405c5b843c60c
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 22 13:27:13 2019 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Oct 22 13:27:13 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=320fcf03

bzr.eclass: Add die statements.

... to make the QA lead happy.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 eclass/bzr.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/bzr.eclass b/eclass/bzr.eclass
index cd19f22e11a..fc1de9dc9cc 100644
--- a/eclass/bzr.eclass
+++ b/eclass/bzr.eclass
@@ -197,7 +197,7 @@ bzr_update() {
                        || die "${EBZR}: can't chdir to ${branch_dir}"
                ${EBZR_UPDATE_CMD} ${EBZR_OPTIONS} "${repo_uri}" \
                        || die "${EBZR}: can't pull from ${repo_uri}"
-               popd > /dev/null
+               popd > /dev/null || die "${EBZR}: popd failed"
        fi
 }
 
@@ -278,7 +278,7 @@ bzr_fetch() {
        einfo \
                "revision ${EBZR_REVISION:-${EBZR_REVNO}} is now in 
${EBZR_UNPACK_DIR}"
 
-       popd > /dev/null
+       popd > /dev/null || die "${EBZR}: popd failed"
 }
 
 # @FUNCTION: bzr_src_unpack

Reply via email to