Пожалуйста, включите JavaScript.
Главная
Обзор
Помощь
Вход
isprogram
/
pyenv
зеркало из
https://github.com/pyenv/pyenv.git
Следить
1
В избранное
0
Форкнуть
0
Код
Задачи
0
Projects
0
Релизы
241
Вики
Активность
Просмотр исходного кода
Merge pull request
#179
from johnwilliams/master
rbenv-init arguments should be allowed in any order
pull/360/head^2
Sam Stephenson
14 лет назад
Родитель
5d0a6630b9
f40bc773d2
Сommit
9ea1f7d53e
1 измененных файлов
:
12 добавлений
и
9 удалений
Единый вид
Опции Diff
Показать статистику
Скачать Patch файл
Скачать Diff файл
+12
-9
libexec/rbenv-init
+ 12
- 9
libexec/rbenv-init
Просмотреть файл
@ -3,16 +3,19 @@ set -e
[ -n "$RBENV_DEBUG" ] && set -x
[ -n "$RBENV_DEBUG" ] && set -x
print=""
print=""
if [ "$1" = "-" ]; then
print=1
shift
fi
no_rehash=""
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"
shell="$1"
if [ -z "$shell" ]; then
if [ -z "$shell" ]; then
Редактирование
Предпросмотр
Загрузка…
Отмена
Сохранить