Ce site fonctionne mieux avec JavaScript.
Accueil
Explorateur
Aide
Connexion
isprogram
/
pyenv
miroir de
https://github.com/pyenv/pyenv.git
Suivre
1
Ajouter aux favoris
0
Bifurcation
0
Code
Tickets
0
Projects
0
Versions
240
Wiki
Activité
Parcourir la source
Merge pull request
#9
from sstephenson/cp-shim
Copies bins into shims/ instead of symlinking
pull/360/head^2
Joshua Peek
il y a 15 ans
Parent
55ce7850ad
eccdec3740
révision
15356aebc6
2 fichiers modifiés
avec
6 ajouts
et
4 suppressions
Vue séparée
Option de Diff
Voir les Statistiques
Télécharger le Fichier Patch
Télécharger le Fichier des Différences
+6
-1
bin/rbenv-rehash
+0
-3
bin/rbenv-shim
+ 6
- 1
bin/rbenv-rehash
Voir le fichier
@ -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
Voir le fichier
@ -1,3 +0,0 @@
#!/usr/bin/env bash -e
exec rbenv-exec "${0##*/}" "$@"
Écrire
Aperçu
Chargement…
Annuler
Enregistrer