From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5E154139694 for ; Tue, 2 May 2017 09:01:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 570B8E0D07; Tue, 2 May 2017 09:01:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 37546E0D07 for ; Tue, 2 May 2017 09:01:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2882C3416A8 for ; Tue, 2 May 2017 09:01:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 92177744B for ; Tue, 2 May 2017 09:01:39 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1493715696.911800c0fe06e2c32394d04a19af828257914bd6.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/xen-tools/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/xen-tools/xen-tools-4.7.2.ebuild app-emulation/xen-tools/xen-tools-4.8.1.ebuild X-VCS-Directories: app-emulation/xen-tools/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 911800c0fe06e2c32394d04a19af828257914bd6 X-VCS-Branch: master Date: Tue, 2 May 2017 09:01:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 6a0cd4c5-2359-4a10-b413-44ee214f56ab X-Archives-Hash: 114339bd5e929eb64bf256d332a5bb64 commit: 911800c0fe06e2c32394d04a19af828257914bd6 Author: Yixun Lan gentoo org> AuthorDate: Tue May 2 08:18:47 2017 +0000 Commit: Yixun Lan gentoo org> CommitDate: Tue May 2 09:01:36 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=911800c0 app-emulation/xen-tools: check and emit failure message 'source' command may fail if the file not found Gentoo-Bug: 616042 Package-Manager: Portage-2.3.5, Repoman-2.3.2 app-emulation/xen-tools/xen-tools-4.7.2.ebuild | 4 ++-- app-emulation/xen-tools/xen-tools-4.8.1.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app-emulation/xen-tools/xen-tools-4.7.2.ebuild b/app-emulation/xen-tools/xen-tools-4.7.2.ebuild index 36614705a62..91fb13495b8 100644 --- a/app-emulation/xen-tools/xen-tools-4.7.2.ebuild +++ b/app-emulation/xen-tools/xen-tools-4.7.2.ebuild @@ -185,7 +185,7 @@ src_prepare() { EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" - source "${WORKDIR}"/patches-security/${PV}.conf + source "${WORKDIR}"/patches-security/${PV}.conf || die for i in ${XEN_SECURITY_MAIN}; do epatch "${WORKDIR}"/patches-security/xen/$i @@ -215,7 +215,7 @@ src_prepare() { # Gentoo's patchset if [[ -n ${GENTOO_VER} && -n ${GENTOO_GPV} ]]; then einfo "Try to apply Gentoo specific patch set" - source "${FILESDIR}"/gentoo-patches.conf + source "${FILESDIR}"/gentoo-patches.conf || die _gpv=_gpv_${PN/-/_}_${PV//./}_${GENTOO_GPV} for i in ${!_gpv}; do EPATCH_SUFFIX="patch" \ diff --git a/app-emulation/xen-tools/xen-tools-4.8.1.ebuild b/app-emulation/xen-tools/xen-tools-4.8.1.ebuild index 9133e5d6309..97abadec279 100644 --- a/app-emulation/xen-tools/xen-tools-4.8.1.ebuild +++ b/app-emulation/xen-tools/xen-tools-4.8.1.ebuild @@ -181,7 +181,7 @@ src_prepare() { EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" - source "${WORKDIR}"/patches-security/${PV}.conf + source "${WORKDIR}"/patches-security/${PV}.conf || die for i in ${XEN_SECURITY_MAIN}; do epatch "${WORKDIR}"/patches-security/xen/$i @@ -211,7 +211,7 @@ src_prepare() { # Gentoo's patchset if [[ -n ${GENTOO_VER} && -n ${GENTOO_GPV} ]]; then einfo "Try to apply Gentoo specific patch set" - source "${FILESDIR}"/gentoo-patches.conf + source "${FILESDIR}"/gentoo-patches.conf || die _gpv=_gpv_${PN/-/_}_${PV//./}_${GENTOO_GPV} for i in ${!_gpv}; do EPATCH_SUFFIX="patch" \