mirror of
https://github.com/pyenv/pyenv.git
synced 2026-02-01 00:27:35 +09: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##*/}"
|
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…
x
Reference in New Issue
Block a user