Compare commits

..

No commits in common. "6ffffda704d4973e6af2cc92c159d9dcc2063958" and "37277d1dc27be3cbd1ee54b9b0802ac0d3d85ada" have entirely different histories.

View file

@ -41,16 +41,14 @@ tmp="${root}/tmp"
rm --force --recursive \ rm --force --recursive \
~/.cache/pip "${root}" ~/.cache/pip "${root}"
for version in "os" "3.12" "3.11" "3.10"; do for version in "3.12" "3.11" "3.10"; do
if [ "${version}" != "os" ]; then export VIRTUAL_ENV="/prj/venv/${version}"
export VIRTUAL_ENV="/prj/venv/${version}" export OLD_PATH="${PATH}"
export OLD_PATH="${PATH}" export PATH="${VIRTUAL_ENV}/bin:${PATH}"
export PATH="${VIRTUAL_ENV}/bin:${PATH}"
fi
sub="${root}/${version}" sub="${root}/${version}"
python3 -m pip \ python -m pip \
download \ download \
--dest "${sub}" \ --dest "${sub}" \
"${@}" "${@}"
@ -94,10 +92,8 @@ for version in "os" "3.12" "3.11" "3.10"; do
mv -i "${sub}/${file_name}-"* "${simple}/" mv -i "${sub}/${file_name}-"* "${simple}/"
done done
if [ "${version}" != "os" ]; then export PATH="${OLD_PATH}"
export PATH="${OLD_PATH}" unset OLD_PATH VIRTUAL_ENV
unset OLD_PATH VIRTUAL_ENV
fi
done done
rm --force --recursive "${tmp}" rm --force --recursive "${tmp}"