This website works better with JavaScript.
首頁
探索
說明
登入
isprogram
/
pyenv
镜像来自
https://github.com/pyenv/pyenv.git
關註
1
收藏
0
複製
0
程式碼
問題管理
0
Projects
0
版本發佈
181
Wiki
Activity
瀏覽代碼
Merge pull request
#9
from sstephenson/cp-shim
Copies bins into shims/ instead of symlinking
pull/360/head^2
Joshua Peek
13 年之前
父節點
55ce7850ad
eccdec3740
當前提交
15356aebc6
共有
2 個文件被更改
,包括
6 次插入
和
4 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-1
bin/rbenv-rehash
+0
-3
bin/rbenv-shim
+ 6
- 1
bin/rbenv-rehash
查看文件
@ -5,5 +5,10 @@ cd "${HOME}/.rbenv/shims"
rm -f *
for file in ../versions/*/bin/*; do
ln -fs ../bin/rbenv-shim "${file##*/}"
shim="${file##*/}"
cat > "$shim" <<SH
#!/bin/sh
exec rbenv exec $shim "\$@"
SH
chmod +x "$shim"
done
+ 0
- 3
bin/rbenv-shim
查看文件
@ -1,3 +0,0 @@
#!/usr/bin/env bash -e
exec rbenv-exec "${0##*/}" "$@"
Write
Preview
Loading…
取消
儲存