Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
isprogram
/
pyenv
espelhamento de
https://github.com/pyenv/pyenv.git
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Projects
0
Versões
240
Wiki
Atividade
Ver código fonte
Copies bins into shims/ instead of symlinking
Fixes
#6
pull/360/head^2
Joshua Peek
15 anos atrás
pai
8f9a34d9b1
commit
06228d3583
2 arquivos alterados
com
6 adições
e
4 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+6
-1
bin/rbenv-rehash
+0
-3
bin/rbenv-shim
+ 6
- 1
bin/rbenv-rehash
Ver arquivo
@ -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 ${file##*/} \$@
SH
chmod +x "$shim"
done
+ 0
- 3
bin/rbenv-shim
Ver arquivo
@ -1,3 +0,0 @@
#!/bin/bash -e
exec rbenv-exec "${0##*/}" "$@"
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar