aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreroen <eroen@occam.eroen.eu>2015-02-10 22:35:01 +0100
committereroen <eroen@occam.eroen.eu>2015-02-10 22:40:28 +0100
commite96e9b26c32cce2e057990871ddd8fc93445e7d7 (patch)
treefd5c6ede8dc5ce8e8d3019e464e2a409c6d3cbb8 /wine.eselect
parentadd unset --all (diff)
downloadeselect-wine-e96e9b26c32cce2e057990871ddd8fc93445e7d7.tar.gz
eselect-wine-e96e9b26c32cce2e057990871ddd8fc93445e7d7.tar.bz2
eselect-wine-e96e9b26c32cce2e057990871ddd8fc93445e7d7.zip
VARIANTS is an array
Diffstat (limited to 'wine.eselect')
-rw-r--r--wine.eselect4
1 files changed, 2 insertions, 2 deletions
diff --git a/wine.eselect b/wine.eselect
index cb5a932..72802b2 100644
--- a/wine.eselect
+++ b/wine.eselect
@@ -317,7 +317,7 @@ do_unset() {
local variant=""
if has --all "$@"; then
do_unset
- for variant in "$VARIANTS"; do
+ for variant in "${VARIANTS[@]}"; do
do_unset "--${variant}"
done
return 0
@@ -401,7 +401,7 @@ do_update() {
else
do_update
fi
- for variant in "$VARIANTS"; do
+ for variant in "${VARIANTS[@]}"; do
if has --if-unset "$@"; then
do_update "--${variant}" --if-unset
else