mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-14 20:39:55 -05:00
Use $shim var
This commit is contained in:
parent
06228d3583
commit
ce8d3278a4
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ for file in ../versions/*/bin/*; do
|
||||||
shim="${file##*/}"
|
shim="${file##*/}"
|
||||||
cat > "$shim" <<SH
|
cat > "$shim" <<SH
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
exec rbenv exec ${file##*/} \$@
|
exec rbenv exec $shim \$@
|
||||||
SH
|
SH
|
||||||
chmod +x "$shim"
|
chmod +x "$shim"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue