summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-11-19 16:21:40 +0100
committerMichał Górny <mgorny@gentoo.org>2015-11-28 20:09:06 +0100
commit6a0597dada66ca786ae2f037f3ed732ad32621d2 (patch)
tree3bfd00c075dfbd5c885069a0344163bebafada8e /eclass/python-utils-r1.eclass
parentpython-utils-r1.eclass: Support nonfatal in python_do* and python_new* (diff)
downloadgentoo-6a0597dada66ca786ae2f037f3ed732ad32621d2.tar.gz
gentoo-6a0597dada66ca786ae2f037f3ed732ad32621d2.tar.bz2
gentoo-6a0597dada66ca786ae2f037f3ed732ad32621d2.zip
python-utils-r1.eclass: Make heredocs consistent
Diffstat (limited to 'eclass/python-utils-r1.eclass')
-rw-r--r--eclass/python-utils-r1.eclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index 884867fa022..a96afeda77f 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -936,11 +936,11 @@ python_wrapper_setup() {
local x
for x in "${nonsupp[@]}"; do
- cat >"${workdir}"/bin/${x} <<__EOF__ || die
-#!/bin/sh
-echo "${x} is not supported by ${EPYTHON}" >&2
-exit 127
-__EOF__
+ cat >"${workdir}"/bin/${x} <<-_EOF_ || die
+ #!/bin/sh
+ echo "${x} is not supported by ${EPYTHON}" >&2
+ exit 127
+ _EOF_
chmod +x "${workdir}"/bin/${x} || die
done