This commit is contained in:
Marc Beninca 2024-09-28 21:59:28 +02:00
parent ffc2370fde
commit e6d5d36347
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -13,11 +13,11 @@ mkdir --parents "${root}"
wget --continue --output-document "${path}" "${url}" wget --continue --output-document "${path}" "${url}"
for url in $(jq -r ".. | objects | .url?" "${path}" | for url in $(jq -r ".. | objects | .url?" "${path}" |
grep "\(cpython-3\.12\.6\|pypy3\.10\)" ); do grep "\(cpython-3\.12\.6\|pypy3\.10\)" ); do
file="$(basename "${url}" | sed "s|%2B|+|g")" file="$(basename "${url}" | sed "s|%2B|+|g")"
dir="$(dirname "${url}")" dir="$(dirname "${url}")"
date="$(basename "${dir}")" date="$(basename "${dir}")"
path="${root}/${date}" path="${root}/${date}"
mkdir --parents "${path}" mkdir --parents "${path}"
wget --continue --output-document "${path}/${file}" "${url}" wget --continue --output-document "${path}/${file}" "${url}"
done done