1 |
--- |
2 |
eclass/python-utils-r1.eclass | 6 +++--- |
3 |
1 file changed, 3 insertions(+), 3 deletions(-) |
4 |
|
5 |
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass |
6 |
index 1362ff9..0a04e12 100644 |
7 |
--- a/eclass/python-utils-r1.eclass |
8 |
+++ b/eclass/python-utils-r1.eclass |
9 |
@@ -891,7 +891,7 @@ python_wrapper_setup() { |
10 |
# note: we don't use symlinks because python likes to do some |
11 |
# symlink reading magic that breaks stuff |
12 |
# https://bugs.gentoo.org/show_bug.cgi?id=555752 |
13 |
- cat > "${workdir}/bin/python" <<-_EOF_ |
14 |
+ cat > "${workdir}/bin/python" <<-_EOF_ || die |
15 |
#!/bin/sh |
16 |
exec "${PYTHON}" "\${@}" |
17 |
_EOF_ |
18 |
@@ -904,7 +904,7 @@ python_wrapper_setup() { |
19 |
if [[ ${EPYTHON} == python* ]]; then |
20 |
python_export "${impl}" PYTHON_CONFIG |
21 |
|
22 |
- cat > "${workdir}/bin/python-config" <<-_EOF_ |
23 |
+ cat > "${workdir}/bin/python-config" <<-_EOF_ || die |
24 |
#!/bin/sh |
25 |
exec "${PYTHON_CONFIG}" "\${@}" |
26 |
_EOF_ |
27 |
@@ -926,7 +926,7 @@ python_wrapper_setup() { |
28 |
|
29 |
local x |
30 |
for x in "${nonsupp[@]}"; do |
31 |
- cat >"${workdir}"/bin/${x} <<__EOF__ |
32 |
+ cat >"${workdir}"/bin/${x} <<__EOF__ || die |
33 |
#!/bin/sh |
34 |
echo "${x} is not supported by ${EPYTHON}" >&2 |
35 |
exit 127 |
36 |
-- |
37 |
2.6.3 |