使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
isprogram
/
pyenv
镜像自地址
https://github.com/pyenv/pyenv.git
关注
1
点赞
0
派生
0
代码
工单
0
项目
0
版本发布
240
百科
动态
浏览代码
Merge pull request
#9
from sstephenson/cp-shim
Copies bins into shims/ instead of symlinking
pull/360/head^2
Joshua Peek
15 年前
父节点
55ce7850ad
eccdec3740
当前提交
15356aebc6
共有
2 个文件被更改
,包括
6 次插入
和
4 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+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##*/}" "$@"
撰写
预览
正在加载...
取消
保存