Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/build-packages
diff options
context:
space:
mode:
Diffstat (limited to 'bin/build-packages')
-rwxr-xr-xbin/build-packages4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/build-packages b/bin/build-packages
index 8e16e60..63c9301 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -700,14 +700,14 @@ while [ "${count}" -ne 0 ] && \
s/\$repo/'"${repository}"'/g
s/\$arch/x86_64/g
p
- ' | \
- shuf
+ '
} | \
sed '
s|$|/'"${pkg_file}"'|
s/\.[0-9]\+\(-[^-]\+\)$/\1/
s/-'"${arch}"'\+\(\.pkg\.tar\.zst\)$/-x86_64\1/
' | \
+ shuf -n 100 | \
while read -r url; do
>&2 printf 'downloading "%s" ...' "${url}"
if wget -q --timeout=15 -nd "${url}"; then