aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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