aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-07-24 10:40:22 +0200
committerJustin Lecher <jlec@gentoo.org>2013-07-24 10:40:22 +0200
commit8744891d65415d6b71b5df7ec0d91e7c680f0bb0 (patch)
treec625d1d2e1ab7b578f6232dd9a0b75abbd0a8a61 /eclass/intel-sdp.eclass
parentsci-chemistry/pymol: Fx stupid argparse import (diff)
downloadsci-8744891d65415d6b71b5df7ec0d91e7c680f0bb0.tar.gz
sci-8744891d65415d6b71b5df7ec0d91e7c680f0bb0.tar.bz2
sci-8744891d65415d6b71b5df7ec0d91e7c680f0bb0.zip
fix the arch logic
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'eclass/intel-sdp.eclass')
-rw-r--r--eclass/intel-sdp.eclass12
1 files changed, 6 insertions, 6 deletions
diff --git a/eclass/intel-sdp.eclass b/eclass/intel-sdp.eclass
index 6e715b314..cd1212259 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