tabs
This commit is contained in:
parent
ffc2370fde
commit
e6d5d36347
1 changed files with 7 additions and 7 deletions
14
py.cpypy.sh
14
py.cpypy.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue