Use -f when deleting a gitmodule incase it hasn't been committed yet

This commit is contained in:
Kevin MacMartin 2018-03-11 23:33:09 -04:00
parent 264f83a588
commit bed3eb2ae0

View file

@ -10,7 +10,7 @@ else
fi
if [[ -d "vim/bundle/$1" ]]; then
git rm "vim/bundle/$1"
git rm -f "vim/bundle/$1"
else
printf '%s\n' "Couldn't run 'git rm vim/bundle/$1', does not exist" >&2
exit 1