mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-23 07:42:57 +00:00
d65141c7b5
Conflicts: bin/rbenv libexec/rbenv-shim
14 lines
234 B
Bash
14 lines
234 B
Bash
#!/usr/bin/env 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 $shim "\$@"
|
|
SH
|
|
chmod +x "$shim"
|
|
done
|