Skip to content

Commit 102025c

Browse files
authored
Merge pull request #72 from kit494way/fix-pyenv-root
Don't override PYENV_ROOT if it is set
2 parents d8440a2 + b8e3aa5 commit 102025c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/bundled_installer

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# - the latest (or close to it) Python
99
# - the latest version of the EBCLI
1010
export PYTHON_VERSION="3.7.2"
11-
export PYENV_ROOT="$HOME/.pyenv"
11+
export PYENV_ROOT=${PYENV_ROOT:-"$HOME/.pyenv"}
1212
export PYENV_BIN="$PYENV_ROOT/versions/$PYTHON_VERSION/bin"
1313
BASH_PROFILE="$HOME/.bash_profile"
1414
ZSHENV="$HOME/.zshrc"

0 commit comments

Comments
 (0)