이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
로그인
isprogram
/
pyenv
의 미러
https://github.com/pyenv/pyenv.git
보기
1
좋아요
0
포크
0
코드
이슈
0
Projects
0
릴리즈
241
위키
활동
소스 검색
RBENV_DIR sets the directory from which .rbenv-version files are scanned
pull/360/head^2
Sam Stephenson
15 년 전
부모
a3deeba0a0
커밋
07815769ae
3개의 변경된 파일
과
9개의 추가작업
그리고
7개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-6
bin/ruby-local-exec
+5
-0
libexec/rbenv
+1
-1
libexec/rbenv-version-file
+ 3
- 6
bin/ruby-local-exec
파일 보기
@ -13,11 +13,8 @@
set -e
cwd="$(pwd)"
dirname="${1%/*}"
cd "$dirname"
export RBENV_VERSION="$(rbenv version-name)"
cd "$cwd"
if [ -z "$RBENV_DIR" ]; then
export RBENV_DIR="${1%/*}"
fi
exec ruby "$@"
+ 5
- 0
libexec/rbenv
파일 보기
@ -27,6 +27,11 @@ else
fi
export RBENV_ROOT
if [ -z "${RBENV_DIR}" ]; then
RBENV_DIR="$(pwd)"
fi
export RBENV_DIR
shopt -s nullglob
+ 1
- 1
libexec/rbenv-version-file
파일 보기
@ -2,7 +2,7 @@
set -e
[ -n "$RBENV_DEBUG" ] && set -x
root="$
(pwd)
"
root="$
RBENV_DIR
"
while [ -n "$root" ]; do
if [ -e "${root}/.rbenv-version" ]; then
echo "${root}/.rbenv-version"
쓰기
미리보기
불러오는 중...
취소
저장