mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-07 20:31:01 -05:00
parent
8f9a34d9b1
commit
06228d3583
2 changed files with 6 additions and 4 deletions
|
@ -5,5 +5,10 @@ cd "${HOME}/.rbenv/shims"
|
||||||
rm -f *
|
rm -f *
|
||||||
|
|
||||||
for file in ../versions/*/bin/*; do
|
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
|
done
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/bash -e
|
|
||||||
|
|
||||||
exec rbenv-exec "${0##*/}" "$@"
|
|
Loading…
Reference in a new issue