From b8e3aa54ba1067393113b54c5c92bd0665518b32 Mon Sep 17 00:00:00 2001 From: KITAGAWA Yasutaka Date: Sun, 8 Mar 2020 19:32:59 +0900 Subject: [PATCH] Don't override PYENV_ROOT if it is set --- scripts/bundled_installer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bundled_installer b/scripts/bundled_installer index 03b07d1..25b3179 100755 --- a/scripts/bundled_installer +++ b/scripts/bundled_installer @@ -8,7 +8,7 @@ # - the latest (or close to it) Python # - the latest version of the EBCLI export PYTHON_VERSION="3.7.2" -export PYENV_ROOT="$HOME/.pyenv" +export PYENV_ROOT=${PYENV_ROOT:-"$HOME/.pyenv"} export PYENV_BIN="$PYENV_ROOT/versions/$PYTHON_VERSION/bin" BASH_PROFILE="$HOME/.bash_profile" ZSHENV="$HOME/.zshrc"