summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-08-27 15:04:08 +0000
committerMike Frysinger <vapier@gentoo.org>2012-08-27 15:04:08 +0000
commit87f4d0a2da3bc147a2040f30f22356acf8bb2647 (patch)
tree025e5e99c24824ad1bda62fca0ad5ded44df1eb5 /eclass/multilib.eclass
parentMask pci USE flag for net-snmp on non-Linux systems. (diff)
downloadgentoo-2-87f4d0a2da3bc147a2040f30f22356acf8bb2647.tar.gz
gentoo-2-87f4d0a2da3bc147a2040f30f22356acf8bb2647.tar.bz2
gentoo-2-87f4d0a2da3bc147a2040f30f22356acf8bb2647.zip
add local to a few missing vars
Diffstat (limited to 'eclass/multilib.eclass')
-rw-r--r--eclass/multilib.eclass10
1 files changed, 4 insertions, 6 deletions
diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass
index b321dd1447e2..340f174af7d0 100644
--- a/eclass/multilib.eclass
+++ b/eclass/multilib.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.99 2012/08/22 16:03:08 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.100 2012/08/27 15:04:08 vapier Exp $
# @ECLASS: multilib.eclass
# @MAINTAINER:
@@ -121,7 +121,7 @@ get_abi_LIBDIR() { get_abi_var LIBDIR "$@"; }
# Return a list of the ABIs we want to install for with
# the last one in the list being the default.
get_install_abis() {
- local order=""
+ local x order=""
if [[ -z ${MULTILIB_ABIS} ]] ; then
echo "default"
@@ -162,7 +162,7 @@ get_install_abis() {
# Return a list of the ABIs supported by this profile.
# the last one in the list being the default.
get_all_abis() {
- local order="" mvar dvar
+ local x order="" mvar dvar
mvar="MULTILIB_ABIS"
dvar="DEFAULT_ABI"
@@ -193,9 +193,7 @@ get_all_abis() {
# those that might not be touched by the current ebuild and always includes
# "lib".
get_all_libdirs() {
- local libdirs
- local abi
- local dir
+ local libdirs abi
for abi in ${MULTILIB_ABIS}; do
libdirs+=" $(get_abi_LIBDIR ${abi})"