This website works better with JavaScript.
首頁
探索
說明
登入
isprogram
/
pyenv
镜像来自
https://github.com/pyenv/pyenv.git
關註
1
收藏
0
複製
0
程式碼
問題管理
0
Projects
0
版本發佈
241
Wiki
Activity
瀏覽代碼
Use `$BASH_SOURCE` instead of `$0`
BASH_SOURCE might be more reliable.
pull/487/head^2
Mislav Marohnić
10 年之前
父節點
bb129a782b
當前提交
6e02b944f7
共有
1 個文件被更改
,包括
1 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libexec/rbenv
+ 1
- 1
libexec/rbenv
查看文件
@ -12,7 +12,7 @@ if [ -n "$RBENV_DEBUG" ]; then
set -x
fi
if enable -f "${
0
%/*}"/../libexec/rbenv-realpath.dylib realpath 2>/dev/null; then
if enable -f "${
BASH_SOURCE
%/*}"/../libexec/rbenv-realpath.dylib realpath 2>/dev/null; then
abs_dirname() {
local path="$(realpath "$1")"
echo "${path%/*}"
Write
Preview
Loading…
取消
儲存