mirror of
https://github.com/pyenv/pyenv.git
synced 2026-09-10 07:36:16 -04:00
Use $shim var
This commit is contained in:
parent
06228d3583
commit
ce8d3278a4
|
|
@ -8,7 +8,7 @@ for file in ../versions/*/bin/*; do
|
|||
shim="${file##*/}"
|
||||
cat > "$shim" <<SH
|
||||
#!/bin/sh
|
||||
exec rbenv exec ${file##*/} \$@
|
||||
exec rbenv exec $shim \$@
|
||||
SH
|
||||
chmod +x "$shim"
|
||||
done
|
||||
|
|
|
|||
Loading…
Reference in a new issue