Tämä sivusto toimii paremmin JavaScriptillä.
Etusivu
Tutki
Apua
Kirjaudu sisään
isprogram
/
pyenv
peilaus alkaen
https://github.com/pyenv/pyenv.git
Tarkkaile
1
Äänestä
0
Fork
0
Koodi
Ongelmat
0
Projects
0
Julkaisut
240
Wiki
Toiminta
Selaa lähdekoodia
Copies bins into shims/ instead of symlinking
Fixes
#6
pull/360/head^2
Joshua Peek
15 vuotta sitten
vanhempi
8f9a34d9b1
commit
06228d3583
2 muutettua tiedostoa
jossa
6 lisäystä
ja
4 poistoa
Jaettu näkymä
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-1
bin/rbenv-rehash
+0
-3
bin/rbenv-shim
+ 6
- 1
bin/rbenv-rehash
Näytä tiedosto
@ -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
Näytä tiedosto
@ -1,3 +0,0 @@
#!/bin/bash -e
exec rbenv-exec "${0##*/}" "$@"
Kirjoita
Esikatselu
Ladataan…
Peruuta
Tallenna