From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B063D1381F3 for ; Mon, 3 Dec 2012 11:00:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 75B9D21C1C1; Mon, 3 Dec 2012 11:00:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F136D21C1C1 for ; Mon, 3 Dec 2012 11:00:15 +0000 (UTC) Received: from pomiocik.lan (77-255-218-128.adsl.inetia.pl [77.255.218.128]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 263FC33D8FB; Mon, 3 Dec 2012 11:00:13 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-python@lists.gentoo.org Cc: python@gentoo.org, =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-python] [PATCH updated 2/3] Don't rely on phase function return code. Date: Mon, 3 Dec 2012 12:00:05 +0100 Message-Id: <1354532406-5591-2-git-send-email-mgorny@gentoo.org> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1354532406-5591-1-git-send-email-mgorny@gentoo.org> References: <1354532406-5591-1-git-send-email-mgorny@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Discussions centering around the Python ecosystem in Gentoo Linux X-BeenThere: gentoo-python@gentoo.org X-BeenThere: gentoo-python@lists.gentoo.org X-Archives-Salt: fa581d62-6093-4ef3-9471-87da5541ec8c X-Archives-Hash: 461b973ff493f167fffada6acc98cae9 It prohibits constructs like 'use x && y', and is not really necessary when '|| die' should be used there anyway. --- gx86/eclass/distutils-r1.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gx86/eclass/distutils-r1.eclass b/gx86/eclass/distutils-r1.eclass index db8fe86..a490252 100644 --- a/gx86/eclass/distutils-r1.eclass +++ b/gx86/eclass/distutils-r1.eclass @@ -380,9 +380,9 @@ distutils-r1_run_phase() { fi if [[ ${DISTUTILS_NO_PARALLEL_BUILD} ]]; then - "${@}" || die "${1} failed." + "${@}" else - multijob_child_init "${@}" || die "${1} failed." + multijob_child_init "${@}" fi if [[ ${DISTUTILS_IN_SOURCE_BUILD} ]]; then -- 1.8.0