Browse Source

Merge pull request #191 from zeux/master

Fix wget/win32 codepath for script searching.
pull/230/head
gmarik 14 years ago
parent
commit
8e9b933ed4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      autoload/vundle/scripts.vim

+ 1
- 1
autoload/vundle/scripts.vim View File

@ -163,7 +163,7 @@ func! s:fetch_scripts(to)
let temp = shellescape(tempname())
let cmd = 'wget -q -O '.temp.' '.l:vim_scripts_json. ' && mv -f '.temp.' '.shellescape(a:to)
if (has('win32') || has('win64'))
let cmd = substitute(cmd, 'mv -f ', 'mv /Y ') " change force flag
let cmd = substitute(cmd, 'mv -f ', 'move /Y ', '') " change force flag
let cmd = '"'.cmd.'"' " enclose in quotes so && joined cmds work
end
else


Loading…
Cancel
Save