diff --git a/re.sh b/re.sh index 5083585..8527930 100755 --- a/re.sh +++ b/re.sh @@ -84,8 +84,11 @@ set \ uv_python() { echo export UV_PYTHON_INSTALL_MIRROR="${url}/cpypy" - uv python install "${2}" - unset UV_PYTHON_INSTALL_MIRROR + export UV_PYPY_INSTALL_MIRROR="${UV_PYTHON_INSTALL_MIRROR}" + uv python install "${1}" + unset \ + UV_PYPY_INSTALL_MIRROR \ + UV_PYTHON_INSTALL_MIRROR } uv_venv() { echo @@ -115,7 +118,7 @@ venvs() { "create") export UV_PYTHON_INSTALL_DIR="${venv}/cpypy" echo "→ install python ${version}" - uv_python "${venv}" "${version}" + uv_python "${version}" echo "→ create venv ${version}" uv_venv "${venv}" "${version}" unset UV_PYTHON_INSTALL_DIR