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
Tweak `rbenv --version` output
pull/360/head^2
Sam Stephenson
hace 13 años
padre
3060578e3b
commit
1ebcbd92e2
Se han
modificado 2 ficheros
con
4 adiciones
y
3 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+1
-1
libexec/rbenv
+3
-2
libexec/rbenv---version
+ 1
- 1
libexec/rbenv
Ver fichero
@ -60,7 +60,7 @@ shopt -u nullglob
command="$1"
case "$command" in
"" | "-h" | "--help" )
echo -e "
rbenv
$(rbenv---version)\n$(rbenv-help)" >&2
echo -e "$(rbenv---version)\n$(rbenv-help)" >&2
;;
"-v" )
exec rbenv---version
+ 3
- 2
libexec/rbenv---version
Ver fichero
@ -2,9 +2,10 @@
set -e
[ -n "$RBENV_DEBUG" ] && set -x
version=
v
0.3.0
version=0.3.0
cd "$RBENV_ROOT"
git_revision="$(git describe --tags HEAD 2>/dev/null || true)"
git_revision="${git_revision#v}"
echo ${git_revision:-$version}
echo
"rbenv
${git_revision:-$version}
"
Escribir
Vista previa
Cargando…
Cancelar
Guardar