Browse Source

Fix shellesc()

pull/380/merge
Shougo Matsushita 12 years ago
committed by gmarik
parent
commit
4472ffa078
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      autoload/vundle/installer.vim

+ 1
- 3
autoload/vundle/installer.vim View File

@ -252,9 +252,7 @@ endf
func! vundle#installer#shellesc(cmd) abort
if ((has('win32') || has('win64')) && empty(matchstr(&shell, 'sh')))
if &shellxquote != '(' " workaround for patch #445
return '"'.a:cmd.'"' " enclose in quotes so && joined cmds work
endif
return '"' . substitute(a:cmd, '"', '\\"', 'g') . '"'
endif
return shellescape(a:cmd)
endf


Loading…
Cancel
Save