pyenv/libexec
Daniel Hahler ecd67c8223
pyenv-exec: no -a with exec to keep $PATH with system version (#1169)
Using `exec -a` caused Python to use $PATH to look up the full program name (for
`sys.executable`), which 314937d then tried to fix by changing $PATH
also for the system version.
This is not necessary anymore when not using the short name with `exec`.

This was rejected upstream
(https://github.com/rbenv/rbenv/pull/1089#issuecomment-394531896), since
it is not a problem with Ruby apparently.

Uses $PYENV_ROOT to check if system version is used.

Fixes https://github.com/pyenv/pyenv/issues/98.
Fixes https://github.com/pyenv/pyenv/issues/789.
2019-09-29 00:03:44 +02:00
..
pyenv Revert "also remove shebang with libexec/pyenv" 2019-03-07 22:38:15 +01:00
pyenv---version v1.2.13 2019-07-09 08:56:34 -04:00
pyenv-commands Revert "Merge pull request #1153 from cmcginty/remove-sbang" 2019-04-23 10:23:33 -04:00
pyenv-completions Revert "Merge pull request #1153 from cmcginty/remove-sbang" 2019-04-23 10:23:33 -04:00
pyenv-exec pyenv-exec: no -a with exec to keep $PATH with system version (#1169) 2019-09-29 00:03:44 +02:00
pyenv-global Revert "Merge pull request #1153 from cmcginty/remove-sbang" 2019-04-23 10:23:33 -04:00
pyenv-help Revert "Merge pull request #1153 from cmcginty/remove-sbang" 2019-04-23 10:23:33 -04:00
pyenv-hooks Revert "Merge pull request #1153 from cmcginty/remove-sbang" 2019-04-23 10:23:33 -04:00
pyenv-init Revert "Merge pull request #1153 from cmcginty/remove-sbang" 2019-04-23 10:23:33 -04:00
pyenv-local Revert "Merge pull request #1153 from cmcginty/remove-sbang" 2019-04-23 10:23:33 -04:00
pyenv-prefix Revert "Merge pull request #1153 from cmcginty/remove-sbang" 2019-04-23 10:23:33 -04:00
pyenv-rehash Revert "Merge pull request #1153 from cmcginty/remove-sbang" 2019-04-23 10:23:33 -04:00
pyenv-root Revert "Merge pull request #1153 from cmcginty/remove-sbang" 2019-04-23 10:23:33 -04:00
pyenv-sh-rehash Revert "Merge pull request #1153 from cmcginty/remove-sbang" 2019-04-23 10:23:33 -04:00
pyenv-sh-shell Revert "Merge pull request #1153 from cmcginty/remove-sbang" 2019-04-23 10:23:33 -04:00
pyenv-shims Revert "Merge pull request #1153 from cmcginty/remove-sbang" 2019-04-23 10:23:33 -04:00
pyenv-version Revert "Merge pull request #1153 from cmcginty/remove-sbang" 2019-04-23 10:23:33 -04:00
pyenv-version-file Revert "Merge pull request #1153 from cmcginty/remove-sbang" 2019-04-23 10:23:33 -04:00
pyenv-version-file-read Revert "Merge pull request #1153 from cmcginty/remove-sbang" 2019-04-23 10:23:33 -04:00
pyenv-version-file-write Revert "Merge pull request #1153 from cmcginty/remove-sbang" 2019-04-23 10:23:33 -04:00
pyenv-version-name Revert "Merge pull request #1153 from cmcginty/remove-sbang" 2019-04-23 10:23:33 -04:00
pyenv-version-origin Revert "Merge pull request #1153 from cmcginty/remove-sbang" 2019-04-23 10:23:33 -04:00
pyenv-versions Revert "Merge pull request #1153 from cmcginty/remove-sbang" 2019-04-23 10:23:33 -04:00
pyenv-whence Revert "Merge pull request #1153 from cmcginty/remove-sbang" 2019-04-23 10:23:33 -04:00
pyenv-which Revert "Merge pull request #1153 from cmcginty/remove-sbang" 2019-04-23 10:23:33 -04:00