mirror of
https://github.com/prurigro/darkcloud-vimconfig.git
synced 2024-11-21 14:32:32 -05:00
Remove reference to $2 in the delete submodule script
This commit is contained in:
parent
cba3133227
commit
e87ddba555
1 changed files with 1 additions and 1 deletions
|
@ -2,6 +2,6 @@
|
|||
|
||||
[[ -z $1 ]] && exit 1
|
||||
|
||||
[[ -d "vim/bundle/${1}" ]] && git submodule deinit -f $2 "vim/bundle/${1}" || echo "Couldn't run 'git submodule deinit $2 vim/bundle/${1}', $1 does not exist"
|
||||
[[ -d "vim/bundle/${1}" ]] && git submodule deinit -f "vim/bundle/${1}" || echo "Couldn't run 'git submodule deinit vim/bundle/${1}', $1 does not exist"
|
||||
[[ -d "vim/bundle/${1}" ]] && git rm "vim/bundle/${1}" || echo "Couldn't run 'git rm vim/bundle/${1}', vim/bundle/${1} does not exist"
|
||||
[[ -d "${PWD}/.git/modules/vim/bundle/${1}" ]] && rm -rf "${PWD}/.git/modules/vim/bundle/${1}" || echo "Couldn't run 'rm -rf ${PWD}/.git/modules/vim/bundle/${1}', ${PWD}/.git/modules/vim/bundle/${1} does not exist"
|
||||
|
|
Loading…
Reference in a new issue