summaryrefslogtreecommitdiff
path: root/bin/check-mirrors
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-11-08 20:13:42 +0100
committerErich Eckner <git@eckner.net>2019-11-08 20:13:42 +0100
commit1e1ee1a8c0304ff6bdf64e821ff80700d6f605d9 (patch)
treed5822ad74488471ca5e9019be78e40ad41aebe2d /bin/check-mirrors
parente76c7e1969f9337cbc89c5668c284cf38f1fe786 (diff)
downloadbuilder-1e1ee1a8c0304ff6bdf64e821ff80700d6f605d9.tar.xz
bin/check-mirrors: untar git archive
Diffstat (limited to 'bin/check-mirrors')
-rwxr-xr-xbin/check-mirrors1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/check-mirrors b/bin/check-mirrors
index 5dc8cfe..5f9ba22 100755
--- a/bin/check-mirrors
+++ b/bin/check-mirrors
@@ -23,6 +23,7 @@ if [ $# -eq 0 ]; then
trap 'rm "${tmp_file}"' EXIT
git -C "${repo_paths__archlinux32}" archive HEAD -- 'core/pacman-mirrorlist/mirrorlist' | \
+ tar -Oxf - | \
sed -n '
1,/^$/d
/^## [^A-Z]/d