This website works better with JavaScript.
首頁
探索
說明
登入
isprogram
/
pyenv
镜像来自
https://github.com/pyenv/pyenv.git
關註
1
收藏
0
複製
0
程式碼
問題管理
0
Projects
0
版本發佈
241
Wiki
Activity
瀏覽代碼
fix rbenv-which with system ruby
Don't have `command -v` abort the whole script prematurely.
pull/360/head^2
Roy Liu
14 年之前
committed by
Mislav Marohnić
父節點
b5a26936e8
當前提交
99551dd1ec
共有
1 個文件被更改
,包括
1 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libexec/rbenv-which
+ 1
- 1
libexec/rbenv-which
查看文件
@ -50,7 +50,7 @@ fi
if [ "$RBENV_VERSION" = "system" ]; then
PATH="$(remove_from_path "${RBENV_ROOT}/shims")"
RBENV_COMMAND_PATH="$(command -v "$RBENV_COMMAND")"
RBENV_COMMAND_PATH="$(command -v "$RBENV_COMMAND"
|| true
)"
else
RBENV_COMMAND_PATH="${RBENV_ROOT}/versions/${RBENV_VERSION}/bin/${RBENV_COMMAND}"
fi
Write
Preview
Loading…
取消
儲存