mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Ensure shims set RBENV_ROOT
This commit is contained in:
parent
0632325a43
commit
964c12fe27
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@ create_prototype_shim() {
|
||||||
cat > "$PROTOTYPE_SHIM_PATH" <<SH
|
cat > "$PROTOTYPE_SHIM_PATH" <<SH
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
|
export RBENV_ROOT="$RBENV_ROOT"
|
||||||
exec rbenv exec "\${0##*/}" "\$@"
|
exec rbenv exec "\${0##*/}" "\$@"
|
||||||
SH
|
SH
|
||||||
chmod +x "$PROTOTYPE_SHIM_PATH"
|
chmod +x "$PROTOTYPE_SHIM_PATH"
|
||||||
|
|
Loading…
Reference in a new issue