Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Iniciar sessão
isprogram
/
pyenv
espelho de
https://github.com/pyenv/pyenv.git
Vigiar
1
Marcar como favorito
0
Derivar
0
Código
Questões
0
Projects
0
Lançamentos
181
Wiki
Trabalho
Ver a proveniência
Merge pull request
#9
from sstephenson/cp-shim
Copies bins into shims/ instead of symlinking
pull/360/head^2
Joshua Peek
há 13 anos
ascendente
55ce7850ad
eccdec3740
cometimento
15356aebc6
2 ficheiros alterados
com
6 adições
e
4 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+6
-1
bin/rbenv-rehash
+0
-3
bin/rbenv-shim
+ 6
- 1
bin/rbenv-rehash
Ver ficheiro
@ -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 ficheiro
@ -1,3 +0,0 @@
#!/usr/bin/env bash -e
exec rbenv-exec "${0##*/}" "$@"
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar