python-utils-r1.eclass: Make heredocs consistent
authorMichał Górny <mgorny@gentoo.org>
Thu, 19 Nov 2015 15:21:40 +0000 (16:21 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sat, 28 Nov 2015 19:09:06 +0000 (20:09 +0100)
eclass/python-utils-r1.eclass

index 884867fa0222c8fccaa18df38ee19600abb1f26b..a96afeda77f745c2a07704eed38ccf0b705f60b4 100644 (file)
@@ -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