Parcourir la source

Simplify reference to realpath.dylib within `rbenv-versions`

The `../libexec` dance isn't necessary here. It was only necessary in
main `rbenv` command because that one might have been pointed to
directly via a symlink.
pull/653/head^2
Mislav Marohnić il y a 8 ans
Parent
révision
2c7960102c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      libexec/rbenv-versions

+ 1
- 1
libexec/rbenv-versions Voir le fichier

@ -27,7 +27,7 @@ done
versions_dir="${RBENV_ROOT}/versions"
if ! enable -f "${BASH_SOURCE%/*}"/../libexec/rbenv-realpath.dylib realpath 2>/dev/null; then
if ! enable -f "${BASH_SOURCE%/*}"/rbenv-realpath.dylib realpath 2>/dev/null; then
if [ -n "$RBENV_NATIVE_EXT" ]; then
echo "rbenv: failed to load \`realpath' builtin" >&2
exit 1

Chargement…
Annuler
Enregistrer