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

This commit is contained in:
Jamis Buck 2011-08-03 04:25:23 +08:00 committed by Sam Stephenson
parent e9881119d8
commit 41c5ac5a33

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