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
241
Wiki
Activité
Parcourir la source
Merge pull request
#179
from johnwilliams/master
rbenv-init arguments should be allowed in any order
pull/360/head^2
Sam Stephenson
il y a 14 ans
Parent
5d0a6630b9
f40bc773d2
révision
9ea1f7d53e
1 fichiers modifiés
avec
12 ajouts
et
9 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
+12
-9
libexec/rbenv-init
+ 12
- 9
libexec/rbenv-init
Voir le fichier
@ -3,16 +3,19 @@ set -e
[ -n "$RBENV_DEBUG" ] && set -x
print=""
if [ "$1" = "-" ]; then
print=1
shift
fi
no_rehash=""
if [ "$1" = "--no-rehash" ]; then
no_rehash=1
shift
fi
for args in "$@"
do
if [ "$args" = "-" ]; then
print=1
shift
fi
if [ "$args" = "--no-rehash" ]; then
no_rehash=1
shift
fi
done
shell="$1"
if [ -z "$shell" ]; then
Écrire
Aperçu
Chargement…
Annuler
Enregistrer