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
240
Wiki
Actividad
Explorar el Código
Merge pull request
#9
from sstephenson/cp-shim
Copies bins into shims/ instead of symlinking
pull/360/head^2
Joshua Peek
hace 15 años
padre
55ce7850ad
eccdec3740
commit
15356aebc6
Se han
modificado 2 ficheros
con
6 adiciones
y
4 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+6
-1
bin/rbenv-rehash
+0
-3
bin/rbenv-shim
+ 6
- 1
bin/rbenv-rehash
Ver fichero
@ -5,5 +5,10 @@ cd "${HOME}/.rbenv/shims"
rm -f *
for file in ../versions/*/bin/*; do
ln -fs ../bin/rbenv-shim "${file##*/}"
shim="${file##*/}"
cat > "$shim" <<SH
#!/bin/sh
exec rbenv exec $shim "\$@"
SH
chmod +x "$shim"
done
+ 0
- 3
bin/rbenv-shim
Ver fichero
@ -1,3 +0,0 @@
#!/usr/bin/env bash -e
exec rbenv-exec "${0##*/}" "$@"
Escribir
Vista previa
Cargando…
Cancelar
Guardar