Permalink
Browse files

Merge pull request #191 from zeux/master

Fix wget/win32 codepath for script searching.
  • Loading branch information...
2 parents d9e2f79 + 1a935a2 commit 8e9b933ed4a851ef1413bbd03560553c4339fb2f @gmarik gmarik committed Jul 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 autoload/vundle/scripts.vim
@@ -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

0 comments on commit 8e9b933

Please sign in to comment.