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##*/}" 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