This commit is contained in:
Marc Beninca 2024-09-29 15:26:23 +02:00
parent 94956d1c36
commit b5bcbf845e
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -12,14 +12,24 @@ url="https://github.com\
rm --force --recursive "${root}" rm --force --recursive "${root}"
mkdir --parents "${root}" mkdir --parents "${root}"
wget --continue --output-document "${path}" "${url}" wget --continue --output-document "${path}" "${url}" 2>/dev/null
echo
echo "${path}"
cat "${path}"
for url in $(jq -r ".. | objects | .url?" "${path}" | for url in $(jq -r ".. | objects | .url?" "${path}"); do
grep "\(cpython-3\.12\.6\|pypy3\.10\)"); do case "$(basename "${url}")" in
file="$(basename "${url}" | sed "s|%2B|+|g")" cpython-3.12* |
dir="$(dirname "${url}")" cpython-3.11* |
date="$(basename "${dir}")" cpython-3.10* |
path="${root}/${date}" pypy3.10*)
mkdir --parents "${path}" file="$(basename "${url}" | sed "s|%2B|+|g")"
wget --continue --output-document "${path}/${file}" "${url}" dir="$(dirname "${url}")"
date="$(basename "${dir}")"
path="${root}/${date}"
mkdir --parents "${path}"
wget --continue --output-document "${path}/${file}" "${url}"
;;
*) ;;
esac
done done