summaryrefslogtreecommitdiff
path: root/bin/check-mirrors
diff options
context:
space:
mode:
Diffstat (limited to 'bin/check-mirrors')
-rwxr-xr-xbin/check-mirrors5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/check-mirrors b/bin/check-mirrors
index 174ae50..49abf97 100755
--- a/bin/check-mirrors
+++ b/bin/check-mirrors
@@ -5,8 +5,11 @@
if [ $# -eq 0 ]; then
+ git -C "${releng_dir}" remote update
+
country_codes=$(
- curl -Ss 'https://git.archlinux32.org/archlinux32/releng/raw/branch/master/flag-names'
+ git -C "${releng_dir}" archive master -- 'flag-names' | \
+ tar -Ox
)
tmp_file=$(