mirror of
https://github.com/pyenv/pyenv.git
synced 2026-09-10 07:36:16 -04:00
fix libexec/pyenv-exec
Make sure the $LD_LIBRARY_PATH does not have a trailing colon. Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
parent
a4f80ce23f
commit
63548e129f
|
|
@ -65,6 +65,6 @@ if [ "${PYENV_BIN_PATH#${PYENV_ROOT}}" != "${PYENV_BIN_PATH}" ]; then
|
|||
fi
|
||||
if [ -n "$MODIFY_ENV" ]; then
|
||||
export PYTHONHOME="$(pyenv-prefix)"
|
||||
export LD_LIBRARY_PATH="${PYTHONHOME}/lib:${LD_LIBRARY_PATH}"
|
||||
export LD_LIBRARY_PATH="${PYTHONHOME}/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}"
|
||||
fi
|
||||
exec "$PYENV_COMMAND_PATH" "$@"
|
||||
|
|
|
|||
Loading…
Reference in a new issue