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 `if` instead of inline `&&` so `rbenv rehash` exits with a zero status
pull/360/head^2
Sam Stephenson
hace 14 años
padre
b10bdb1e78
commit
114b81c9a4
Se han
modificado 1 ficheros
con
3 adiciones
y
1 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+3
-1
libexec/rbenv-rehash
+ 3
- 1
libexec/rbenv-rehash
Ver fichero
@ -120,7 +120,9 @@ remove_stale_shims() {
local var
for shim in *; do
var="$(shim_variable_name "$shim")"
[ -z "${!var}" ] && rm -f "$shim"
if [ -z "${!var}" ]; then
rm -f "$shim"
fi
done
}
Escribir
Vista previa
Cargando…
Cancelar
Guardar