mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
06228d3583
Fixes #6
14 lines
230 B
Bash
Executable file
14 lines
230 B
Bash
Executable file
#!/bin/bash -e
|
|
|
|
mkdir -p "${HOME}/.rbenv/shims"
|
|
cd "${HOME}/.rbenv/shims"
|
|
rm -f *
|
|
|
|
for file in ../versions/*/bin/*; do
|
|
shim="${file##*/}"
|
|
cat > "$shim" <<SH
|
|
#!/bin/sh
|
|
exec rbenv exec ${file##*/} \$@
|
|
SH
|
|
chmod +x "$shim"
|
|
done
|