Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--al32-mktorrent.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/al32-mktorrent.sh b/al32-mktorrent.sh
index 3c1090a..b5aaff7 100644
--- a/al32-mktorrent.sh
+++ b/al32-mktorrent.sh
@@ -29,6 +29,7 @@ fg_bold="\033[1m"
MIRRORLIST_FILE="https://raw.githubusercontent.com/archlinux32/packages/master/core/pacman-mirrorlist/mirrorlist"
function create_torrent_for_arch () {
+ declare -a available_mirrors
mirrorlist="$(curl "$MIRRORLIST_FILE" 2>/dev/null | grep Server | cut -d '=' -f 2 | sed -e 's/\s//g;s_$arch/$repo_archisos/_')"
if [ "$#" -eq 0 ] ; then
@@ -92,7 +93,6 @@ function create_torrent_for_arch () {
### Actual program
declare -a architectures=("i686" "dual")
-declare -a available_mirrors
iso_date=''
while getopts "d:h" o; do