commit:     6a0597dada66ca786ae2f037f3ed732ad32621d2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 19 15:21:40 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=6a0597da

python-utils-r1.eclass: Make heredocs consistent

 eclass/python-utils-r1.eclass | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index 884867f..a96afed 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
 

Reply via email to