mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-10 12:33:48 -05:00
Use $shim var
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user