* [gentoo-science] [PATCH 02/10] alternatives-2.eclass: Remove unused variables
@ 2014-01-20 17:53 99% ` Reinis Danne
0 siblings, 0 replies; 1+ results
From: Reinis Danne @ 2014-01-20 17:53 UTC (permalink / raw
To: gentoo-science
---
eclass/alternatives-2.eclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/eclass/alternatives-2.eclass b/eclass/alternatives-2.eclass
index 5c42298..c466eed 100644
--- a/eclass/alternatives-2.eclass
+++ b/eclass/alternatives-2.eclass
@@ -23,7 +23,7 @@ alternatives_for() {
#echo alternatives_for "${@}"
(( $# >= 5 )) && (( ($#-3)%2 == 0)) || die "${FUNCNAME} requires exactly 3+N*2 arguments where N>=1"
- local x dupl alternative=${1} provider=${2} importance=${3} index unique src target ret=0
+ local alternative=${1} provider=${2} importance=${3} index src target ret=0
shift 3
# make sure importance is a signed integer
@@ -139,7 +139,7 @@ alternatives-2_pkg_postinst() {
}
alternatives-2_pkg_prerm() {
- local a alt provider p ignore
+ local a alt provider ignore
[[ -n ${REPLACED_BY_ID} ]] || ignore=" --ignore"
for a in "${ALTERNATIVES_PROVIDED[@]}"; do
alt="${a%:*}"
--
1.8.5.3
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2014-01-20 17:53 [gentoo-science] [PATCH 00/10] alternatives-2.eclass updates Reinis Danne
2014-01-20 17:53 99% ` [gentoo-science] [PATCH 02/10] alternatives-2.eclass: Remove unused variables Reinis Danne
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox