本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
isprogram
/
pyenv
镜像来自
https://github.com/pyenv/pyenv.git
關注
1
收藏
0
複製
0
程式碼
問題
0
Projects
0
版本發佈
240
Wiki
活動
瀏覽代碼
Copies bins into shims/ instead of symlinking
Fixes
#6
pull/360/head^2
Joshua Peek
15 年之前
父節點
8f9a34d9b1
當前提交
06228d3583
共有
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 ${file##*/} \$@
SH
chmod +x "$shim"
done
+ 0
- 3
bin/rbenv-shim
查看文件
@ -1,3 +0,0 @@
#!/bin/bash -e
exec rbenv-exec "${0##*/}" "$@"
Write
Preview
Loading…
取消
儲存