Gentoo Archives: gentoo-python

From: "Michał Górny" <mgorny@g.o>
To: gentoo-python@l.g.o
Cc: python@g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-python] [PATCH distutils-r1 1/4] Don't rely on phase function return code.
Date: Thu, 06 Dec 2012 10:55:17
Message-Id: 1354791297-19239-2-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-python] [distutils-r1] Improvements to parallel builds by "Michał Górny"
1 It prohibits constructs like 'use x && y', and is not really necessary
2 when '|| die' should be used there anyway.
3 ---
4 gx86/eclass/distutils-r1.eclass | 4 ++--
5 1 file changed, 2 insertions(+), 2 deletions(-)
6
7 diff --git a/gx86/eclass/distutils-r1.eclass b/gx86/eclass/distutils-r1.eclass
8 index b1b3f90..9e37a56 100644
9 --- a/gx86/eclass/distutils-r1.eclass
10 +++ b/gx86/eclass/distutils-r1.eclass
11 @@ -380,9 +380,9 @@ distutils-r1_run_phase() {
12 fi
13
14 if [[ ${DISTUTILS_NO_PARALLEL_BUILD} ]]; then
15 - "${@}" || die "${1} failed."
16 + "${@}"
17 else
18 - multijob_child_init "${@}" || die "${1} failed."
19 + multijob_child_init "${@}"
20 fi
21
22 if [[ ${DISTUTILS_IN_SOURCE_BUILD} ]]; then
23 --
24 1.8.0