no need to shellescape here

This commit is contained in:
gmarik 2011-04-10 17:52:14 -05:00
parent 61bfc5ab9f
commit 2f7a7c4088

View File

@ -57,7 +57,7 @@ func! s:helptags(rtp) abort
endf
func! s:sync(bang, bundle) abort
let git_dir = shellescape(expand(a:bundle.path().'/.git'))
let git_dir = expand(a:bundle.path().'/.git')
if isdirectory(git_dir)
if !(a:bang) | return 0 | endif
let cmd = 'cd '.shellescape(a:bundle.path()).' && git pull'