spf13/spf13-vim — pull request #161 by kevinwaddle (2012-10-06 21:19:50+00:00)
Title: Fix symlink check bug in dotfiles backup.

I think the following change to bootstrap.sh introduced in commit 2fd2644 to determine if the target is a symlink has a bug?

-for i in $HOME/.vim $HOME/.vimrc $HOME/.gvimrc; do [ -e $i ] && mv $i $i.$today; done
+for i in $HOME/.vim $HOME/.vimrc $HOME/.gvimrc; do [ -e $i ] && [ ! -L $file ] && mv $i $i.$today; done

On my macbook backups are not getting created for my pre-existing vim dotfiles.

I changed $file to $i and it works.