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 DD12813829C for ; Sun, 12 Jun 2016 19:21:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C82D9E0B66; Sun, 12 Jun 2016 19:21:37 +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 69C94E0B66 for ; Sun, 12 Jun 2016 19:21:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 05C46340B46 for ; Sun, 12 Jun 2016 19:21:36 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E9960963 for ; Sun, 12 Jun 2016 19:21:32 +0000 (UTC) From: "Alexey Shvetsov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexey Shvetsov" Message-ID: <1465759279.824b9947a4bdf2049961216c81e089c086ea2652.alexxy@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sys-cluster/lustre/ X-VCS-Repository: proj/sci X-VCS-Files: sys-cluster/lustre/lustre-2.8.0.ebuild sys-cluster/lustre/lustre-9999.ebuild X-VCS-Directories: sys-cluster/lustre/ X-VCS-Committer: alexxy X-VCS-Committer-Name: Alexey Shvetsov X-VCS-Revision: 824b9947a4bdf2049961216c81e089c086ea2652 X-VCS-Branch: master Date: Sun, 12 Jun 2016 19:21:32 +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: e9a5473d-6cd1-4f13-bc51-26544a454cc2 X-Archives-Hash: e9011a39b948c69d9812cd415f054d5a commit: 824b9947a4bdf2049961216c81e089c086ea2652 Author: Alexey Shvetsov gentoo org> AuthorDate: Sun Jun 12 19:21:19 2016 +0000 Commit: Alexey Shvetsov gentoo org> CommitDate: Sun Jun 12 19:21:19 2016 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=824b9947 sys-cluster/lustre: Fix case when patches are empty Package-Manager: portage-2.3.0_rc1 sys-cluster/lustre/lustre-2.8.0.ebuild | 4 +++- sys-cluster/lustre/lustre-9999.ebuild | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sys-cluster/lustre/lustre-2.8.0.ebuild b/sys-cluster/lustre/lustre-2.8.0.ebuild index 59c8e55..fccf13a 100644 --- a/sys-cluster/lustre/lustre-2.8.0.ebuild +++ b/sys-cluster/lustre/lustre-2.8.0.ebuild @@ -50,7 +50,9 @@ pkg_setup() { } src_prepare() { - epatch ${PATCHES[@]} + if [ -z ${PATCHES[@]} ]; then + epatch ${PATCHES[@]} + fi # replace upstream autogen.sh by our src_prepare() local DIRS="libcfs lnet lustre snmp" local ACLOCAL_FLAGS diff --git a/sys-cluster/lustre/lustre-9999.ebuild b/sys-cluster/lustre/lustre-9999.ebuild index 59c8e55..fccf13a 100644 --- a/sys-cluster/lustre/lustre-9999.ebuild +++ b/sys-cluster/lustre/lustre-9999.ebuild @@ -50,7 +50,9 @@ pkg_setup() { } src_prepare() { - epatch ${PATCHES[@]} + if [ -z ${PATCHES[@]} ]; then + epatch ${PATCHES[@]} + fi # replace upstream autogen.sh by our src_prepare() local DIRS="libcfs lnet lustre snmp" local ACLOCAL_FLAGS