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 C46F1138200 for ; Wed, 24 Jul 2013 09:17:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9953EE09EE; Wed, 24 Jul 2013 09:17:34 +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 AEA0BE09ED for ; Wed, 24 Jul 2013 09:17:33 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B9AE933E987 for ; Wed, 24 Jul 2013 09:17:32 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 6144AE5463 for ; Wed, 24 Jul 2013 09:17:31 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1374655222.8744891d65415d6b71b5df7ec0d91e7c680f0bb0.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: eclass/ X-VCS-Repository: proj/sci X-VCS-Files: eclass/intel-sdp.eclass X-VCS-Directories: eclass/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 8744891d65415d6b71b5df7ec0d91e7c680f0bb0 X-VCS-Branch: master Date: Wed, 24 Jul 2013 09:17:31 +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: 6a213951-00a8-44e3-98a7-076ab951f574 X-Archives-Hash: ce838f233fcf38ce9f1375b722593f71 commit: 8744891d65415d6b71b5df7ec0d91e7c680f0bb0 Author: Justin Lecher gentoo org> AuthorDate: Wed Jul 24 08:40:22 2013 +0000 Commit: Justin Lecher gentoo org> CommitDate: Wed Jul 24 08:40:22 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=8744891d fix the arch logic Signed-off-by: Justin Lecher gentoo.org> --- eclass/intel-sdp.eclass | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/eclass/intel-sdp.eclass b/eclass/intel-sdp.eclass index 6e715b3..cd12122 100644 --- a/eclass/intel-sdp.eclass +++ b/eclass/intel-sdp.eclass @@ -340,13 +340,13 @@ intel-sdp_pkg_setup() { INTEL_RPMS=() INTEL_RPMS_FULL=() for p in ${INTEL_BIN_RPMS}; do - if [ ${p} == $(basename ${p}) ]; then - for a in ${arch}; do + for a in ${arch}; do + if [ ${p} == $(basename ${p}) ]; then INTEL_RPMS+=( intel-${p}-${_INTEL_PV4}-${_INTEL_PV1}.${_INTEL_PV2}-${_INTEL_PV3}.${a}.rpm ) - done - else - INTEL_RPMS_FULL+=( ${p}-${_INTEL_PV4}-${_INTEL_PV1}.${_INTEL_PV2}-${_INTEL_PV3}.${a}.rpm ) - fi + else + INTEL_RPMS_FULL+=( ${p}-${_INTEL_PV4}-${_INTEL_PV1}.${_INTEL_PV2}-${_INTEL_PV3}.${a}.rpm ) + fi + done done for p in ${INTEL_DAT_RPMS}; do if [ ${p} == $(basename ${p}) ]; then