ports/devel/pyenv/files/patch-libexec_pyenv
Jimmy Olgeni 213314f0c3 devel/pyenv: add port.
pyenv lets you easily switch between multiple versions of Python.

Port structure is the same as devel/rbenv, as pyenv is actually
derived from rbenv.
2022-08-24 16:58:41 +02:00

11 lines
404 B
Text

--- libexec/pyenv.orig 2022-08-24 14:27:14 UTC
+++ libexec/pyenv
@@ -77,7 +77,7 @@ export PYENV_DIR
shopt -s nullglob
bin_path="$(abs_dirname "$0")"
-for plugin_bin in "${bin_path%/*}"/plugins/*/bin; do
+for plugin_bin in "${bin_path%/*}"/libexec/pyenv-plugins/*/bin; do
PATH="${plugin_bin}:${PATH}"
done
# PYENV_ROOT can be set to anything, so it may happen to be equal to the base path above,