1 |
commit: 6e5294877778fc28f1f89fa4a0be5b50e8c87b92 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 18 19:44:27 2015 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 26 22:32:55 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e529487 |
7 |
|
8 |
python-utils-r1.eclass: Support nonfatal in python_do* and python_new* |
9 |
|
10 |
eclass/python-utils-r1.eclass | 6 +++--- |
11 |
1 file changed, 3 insertions(+), 3 deletions(-) |
12 |
|
13 |
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass |
14 |
index 6dbbe6d..5693297 100644 |
15 |
--- a/eclass/python-utils-r1.eclass |
16 |
+++ b/eclass/python-utils-r1.eclass |
17 |
@@ -679,7 +679,7 @@ python_newexe() { |
18 |
( |
19 |
dodir "${wrapd}" |
20 |
exeinto "${d}" |
21 |
- newexe "${f}" "${newfn}" || die |
22 |
+ newexe "${f}" "${newfn}" || return ${?} |
23 |
) |
24 |
|
25 |
# install the wrapper |
26 |
@@ -811,7 +811,7 @@ python_domodule() { |
27 |
|
28 |
( |
29 |
insinto "${d}" |
30 |
- doins -r "${@}" || die |
31 |
+ doins -r "${@}" || return ${?} |
32 |
) |
33 |
|
34 |
python_optimize "${ED}/${d}" |
35 |
@@ -845,7 +845,7 @@ python_doheader() { |
36 |
|
37 |
( |
38 |
insinto "${d}" |
39 |
- doins -r "${@}" || die |
40 |
+ doins -r "${@}" || return ${?} |
41 |
) |
42 |
} |