瀏覽代碼

the initial case has an empty directory, so force rm to avoid errors

pull/360/head^2
Jamis Buck 15 年之前
committed by Sam Stephenson
父節點
當前提交
41c5ac5a33
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      bin/rbenv-rehash

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

@ -4,7 +4,7 @@ set -e
mkdir -p "${HOME}/.rbenv/shims"
cd "${HOME}/.rbenv/shims"
rm *
rm -f *
for file in ../versions/*/bin/*; do
ln -fs ../bin/rbenv-shim "${file##*/}"

Loading…
取消
儲存