aboutsummaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-11-23 19:38:23 +0100
committerJustin Lecher <jlec@gentoo.org>2012-11-27 20:21:56 +0100
commitef23bf02c5af76a88cc27d23480d0f7d85bd10ad (patch)
tree642114c9833c4ca84067164fd6b34c23758724c8 /eclass
parentUse clear += insteat of repeating variables (diff)
downloadsci-ef23bf02c5af76a88cc27d23480d0f7d85bd10ad.tar.gz
sci-ef23bf02c5af76a88cc27d23480d0f7d85bd10ad.tar.bz2
sci-ef23bf02c5af76a88cc27d23480d0f7d85bd10ad.zip
declare local variables at once
Diffstat (limited to 'eclass')
-rw-r--r--eclass/intel-sdp.eclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/eclass/intel-sdp.eclass b/eclass/intel-sdp.eclass
index 7ccd2706a..b9826016e 100644
--- a/eclass/intel-sdp.eclass
+++ b/eclass/intel-sdp.eclass
@@ -134,7 +134,7 @@ intel-sdp_pkg_pretend() {
# e.g. amd64-multilib -> INTEL_ARCH="intel64 ia32"
intel-sdp_pkg_setup() {
- local _warn=1 _dirs i _ret
+ local _warn=1 _dirs i _ret arch a p
_dirs=(
"${INTEL_SDP_EDIR}/licenses"
"${INTEL_SDP_EDIR}/Licenses"
@@ -151,7 +151,6 @@ intel-sdp_pkg_setup() {
done
[[ ${_warn} == "0" ]] || big-warning pre-check
- local arch a p
if use x86; then
arch=${INTEL_X86}
INTEL_ARCH="ia32"