Explorar el Código

Use $shim var

pull/360/head^2
Joshua Peek hace 15 años
padre
commit
ce8d3278a4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      bin/rbenv-rehash

+ 1
- 1
bin/rbenv-rehash Ver fichero

@ -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

Cargando…
Cancelar
Guardar