Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 10/29] python-utils-r1.eclass: Make heredocs consistent
Date: Sun, 22 Nov 2015 19:56:39
Message-Id: 1448221870-17269-11-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCHES] Clean-up & EAPI 6 support for python-r1 suite by "Michał Górny"
1 ---
2 eclass/python-utils-r1.eclass | 10 +++++-----
3 1 file changed, 5 insertions(+), 5 deletions(-)
4
5 diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
6 index 7617c3f..6fb1ec5 100644
7 --- a/eclass/python-utils-r1.eclass
8 +++ b/eclass/python-utils-r1.eclass
9 @@ -933,11 +933,11 @@ python_wrapper_setup() {
10
11 local x
12 for x in "${nonsupp[@]}"; do
13 - cat >"${workdir}"/bin/${x} <<__EOF__ || die
14 -#!/bin/sh
15 -echo "${x} is not supported by ${EPYTHON}" >&2
16 -exit 127
17 -__EOF__
18 + cat >"${workdir}"/bin/${x} <<-_EOF_ || die
19 + #!/bin/sh
20 + echo "${x} is not supported by ${EPYTHON}" >&2
21 + exit 127
22 +_EOF_
23 chmod +x "${workdir}"/bin/${x} || die
24 done
25
26 --
27 2.6.3

Replies