Browse Source

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

pull/360/head^2
Jamis Buck 15 years ago
committed by Sam Stephenson
parent
commit
41c5ac5a33
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bin/rbenv-rehash

+ 1
- 1
bin/rbenv-rehash View File

@ -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…
Cancel
Save