Use $shim var

This commit is contained in:
Joshua Peek 2011-08-02 18:55:14 -05:00
parent 06228d3583
commit ce8d3278a4

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