Browse Source

Use $shim var

pull/360/head^2
Joshua Peek 15 years ago
parent
commit
ce8d3278a4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bin/rbenv-rehash

+ 1
- 1
bin/rbenv-rehash View File

@ -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…
Cancel
Save