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 updated 2/3] Don't rely on phase function return code.
Date: Mon, 03 Dec 2012 11:00:25
Message-Id: 1354532406-5591-2-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-python] [PATCH updated 1/3] Set env for best Python impl in *_all() phases. 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 db8fe86..a490252 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