pyenv/test
Mislav Marohnić ed1a3a5545
Switch back to resolving symlinks for rbenv executable (#1439)
Considerations:

- `./libexec/rbenv` executable is the entrypoint to the program;

- BASH_SOURCE might be the path to a symlink that has activated `./libexec/rbenv`;

- We must resolve the symlink to learn where rbenv's libexec directory is;

- It's not guaranteed that rbenv commands will always remain directly under their own "libexec" directory, since a package maintainer can change that, e.g. rbenv commands are sometimes placed into `/usr/libexec/rbenv/*`;

- Resolving symlinks might fail and in that case we just assume rbenv project layout.
2022-09-29 15:27:17 +02:00
..
libexec
--version.bats
commands.bats
completions.bats
exec.bats
global.bats
help.bats Add man page (#1438) 2022-09-27 02:17:50 +02:00
hooks.bats Simplify resolving symlinks, remove native extension (#1428) 2022-09-22 11:34:02 +02:00
init.bats Init script automatically adds rbenv to PATH if necessary (#1432) 2022-09-24 23:59:13 +02:00
local.bats
prefix.bats
rbenv.bats Switch back to resolving symlinks for rbenv executable (#1439) 2022-09-29 15:27:17 +02:00
rehash.bats Support GEM_HOME, add limited support for user-installed gems (#1436) 2022-09-26 02:57:15 +02:00
run Simplify resolving symlinks, remove native extension (#1428) 2022-09-22 11:34:02 +02:00
shell.bats
shims.bats
test_helper.bash Simplify resolving symlinks, remove native extension (#1428) 2022-09-22 11:34:02 +02:00
version-file-read.bats
version-file-write.bats
version-file.bats
version-name.bats
version-origin.bats
version.bats
versions.bats
whence.bats
which.bats Support GEM_HOME, add limited support for user-installed gems (#1436) 2022-09-26 02:57:15 +02:00