summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2021-01-06 18:01:33 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2021-01-06 18:01:33 +0100
commit22ff245977324012d0e16b24dd57a2a1f5b493d8 (patch)
tree93c56b316d6973953feb29ff8530106bf088d0ec
parent7e9bc1c42fdecae88272d028c17a277caed6ec57 (diff)
downloadalpine-conf-22ff245977324012d0e16b24dd57a2a1f5b493d8.zip
setup-apkrepos: fix two digit selection
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10461 Thanks to Timo Ketola for the fix.
-rw-r--r--setup-apkrepos.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-apkrepos.in b/setup-apkrepos.in
index e73e627..2fce913 100644
--- a/setup-apkrepos.in
+++ b/setup-apkrepos.in
@@ -91,7 +91,7 @@ add_from_list() {
return 1
fi
set $MIRRORS
- eval "mirror=\$$mirror_index"
+ eval "mirror=\${$mirror_index}"
add_mirror "$mirror"
}