Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
isprogram
/
pyenv
réplica de
https://github.com/pyenv/pyenv.git
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Projects
0
Lanzamientos
241
Wiki
Actividad
Explorar el Código
Use `$BASH_SOURCE` instead of `$0`
BASH_SOURCE might be more reliable.
pull/487/head^2
Mislav Marohnić
hace 10 años
padre
bb129a782b
commit
6e02b944f7
Se han
modificado 1 ficheros
con
1 adiciones
y
1 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+1
-1
libexec/rbenv
+ 1
- 1
libexec/rbenv
Ver fichero
@ -12,7 +12,7 @@ if [ -n "$RBENV_DEBUG" ]; then
set -x
fi
if enable -f "${
0
%/*}"/../libexec/rbenv-realpath.dylib realpath 2>/dev/null; then
if enable -f "${
BASH_SOURCE
%/*}"/../libexec/rbenv-realpath.dylib realpath 2>/dev/null; then
abs_dirname() {
local path="$(realpath "$1")"
echo "${path%/*}"
Escribir
Vista previa
Cargando…
Cancelar
Guardar