bzr.eclass: Add die statements.
authorUlrich Müller <ulm@gentoo.org>
Tue, 22 Oct 2019 13:27:13 +0000 (15:27 +0200)
committerUlrich Müller <ulm@gentoo.org>
Tue, 22 Oct 2019 13:27:13 +0000 (15:27 +0200)
... to make the QA lead happy.

Signed-off-by: Ulrich Müller <ulm@gentoo.org>
eclass/bzr.eclass

index cd19f22e11a9b75cd33a241ffaa338e0d980214f..fc1de9dc9cccc4a2d392037d8e649cf5a1084ed6 100644 (file)
@@ -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