From 53a3135b3c4bad5d039c17f2f5375e2ae02a40e3 Mon Sep 17 00:00:00 2001 From: fang duan Date: Fri, 14 Jul 2023 12:26:03 +0800 Subject: [PATCH 1/2] Add RTX_PYENV_REPOSITORY env --- bin/utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/utils.sh b/bin/utils.sh index fe03869..c7c173a 100755 --- a/bin/utils.sh +++ b/bin/utils.sh @@ -16,7 +16,7 @@ ensure_python_build_installed() { download_python_build() { echo "Downloading python-build..." >&2 - local pyenv_url="https://github.com/pyenv/pyenv.git" + local pyenv_url="${RTX_PYENV_REPOSITORY:-https://github.com/pyenv/pyenv.git}" git clone $pyenv_url "$(pyenv_path)" } From 3e3741cac36ec14f476fd1b7acdfa3a6c6c56a73 Mon Sep 17 00:00:00 2001 From: fang duan Date: Sat, 15 Jul 2023 00:28:41 +0800 Subject: [PATCH 2/2] chore: rename env --- bin/utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/utils.sh b/bin/utils.sh index c7c173a..511654c 100755 --- a/bin/utils.sh +++ b/bin/utils.sh @@ -16,7 +16,7 @@ ensure_python_build_installed() { download_python_build() { echo "Downloading python-build..." >&2 - local pyenv_url="${RTX_PYENV_REPOSITORY:-https://github.com/pyenv/pyenv.git}" + local pyenv_url="${RTX_PYENV_REPO:-https://github.com/pyenv/pyenv.git}" git clone $pyenv_url "$(pyenv_path)" }