瀏覽代碼

Use $shim var

pull/360/head^2
Joshua Peek 15 年之前
父節點
當前提交
ce8d3278a4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      bin/rbenv-rehash

+ 1
- 1
bin/rbenv-rehash 查看文件

@ -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…
取消
儲存