Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sat, 28 Nov 2015 19:09:59
Message-Id: 1448737746.6a0597dada66ca786ae2f037f3ed732ad32621d2.mgorny@gentoo
1 commit: 6a0597dada66ca786ae2f037f3ed732ad32621d2
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 19 15:21:40 2015 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 28 19:09:06 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a0597da
7
8 python-utils-r1.eclass: Make heredocs consistent
9
10 eclass/python-utils-r1.eclass | 10 +++++-----
11 1 file changed, 5 insertions(+), 5 deletions(-)
12
13 diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
14 index 884867f..a96afed 100644
15 --- a/eclass/python-utils-r1.eclass
16 +++ b/eclass/python-utils-r1.eclass
17 @@ -936,11 +936,11 @@ python_wrapper_setup() {
18
19 local x
20 for x in "${nonsupp[@]}"; do
21 - cat >"${workdir}"/bin/${x} <<__EOF__ || die
22 -#!/bin/sh
23 -echo "${x} is not supported by ${EPYTHON}" >&2
24 -exit 127
25 -__EOF__
26 + cat >"${workdir}"/bin/${x} <<-_EOF_ || die
27 + #!/bin/sh
28 + echo "${x} is not supported by ${EPYTHON}" >&2
29 + exit 127
30 + _EOF_
31 chmod +x "${workdir}"/bin/${x} || die
32 done