commit: e67a293e266a19946ce11f384186a9e7df3ae66c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 18 19:44:27 2015 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 28 19:09:06 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e67a293e
python-utils-r1.eclass: Support nonfatal in python_do* and python_new*
eclass/python-utils-r1.eclass | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index 456c099..884867f 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -682,7 +682,7 @@ python_newexe() {
(
dodir "${wrapd}"
exeinto "${d}"
- newexe "${f}" "${newfn}" || die
+ newexe "${f}" "${newfn}" || return ${?}
)
# install the wrapper
@@ -814,7 +814,7 @@ python_domodule() {
(
insinto "${d}"
- doins -r "${@}" || die
+ doins -r "${@}" || return ${?}
)
python_optimize "${ED}/${d}"
@@ -848,7 +848,7 @@ python_doheader() {
(
insinto "${d}"
- doins -r "${@}" || die
+ doins -r "${@}" || return ${?}
)
}