summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2019-10-22 15:27:13 +0200
committerUlrich Müller <ulm@gentoo.org>2019-10-22 15:27:13 +0200
commit320fcf034f5e860454e0d2a28ed405c5b843c60c (patch)
treed7125070096016ffebcc88f3f265fdb78e0186c1 /eclass/bzr.eclass
parentbzr.eclass: Still used by app-emacs/vm. (diff)
downloadgentoo-320fcf034f5e860454e0d2a28ed405c5b843c60c.tar.gz
gentoo-320fcf034f5e860454e0d2a28ed405c5b843c60c.tar.bz2
gentoo-320fcf034f5e860454e0d2a28ed405c5b843c60c.zip
bzr.eclass: Add die statements.
... to make the QA lead happy. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass/bzr.eclass')
-rw-r--r--eclass/bzr.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/bzr.eclass b/eclass/bzr.eclass
index cd19f22e11a9..fc1de9dc9ccc 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