mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-22 21:02:28 +00:00
Merge branch 'issue98'
This commit is contained in:
commit
c977774977
1 changed files with 3 additions and 3 deletions
|
@ -41,7 +41,7 @@ for script in "${scripts[@]}"; do
|
||||||
done
|
done
|
||||||
|
|
||||||
shift 1
|
shift 1
|
||||||
if [ "$PYENV_VERSION" != "system" ]; then
|
# CPython's `sys.executable` requires the `PYENV_BIN_PATH` to be at the top of the `PATH`.
|
||||||
export PATH="${PYENV_BIN_PATH}:${PATH}"
|
# https://github.com/yyuu/pyenv/issues/98
|
||||||
fi
|
export PATH="${PYENV_BIN_PATH}:${PATH}"
|
||||||
exec -a "$PYENV_COMMAND" "$PYENV_COMMAND_PATH" "$@"
|
exec -a "$PYENV_COMMAND" "$PYENV_COMMAND_PATH" "$@"
|
||||||
|
|
Loading…
Reference in a new issue