Skip to content

Commit

Permalink
Merge pull request #191 from zeux/master
Browse files Browse the repository at this point in the history
Fix wget/win32 codepath for script searching.
  • Loading branch information
gmarik committed Jul 6, 2012
2 parents d9e2f79 + 1a935a2 commit 8e9b933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/vundle/scripts.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8e9b933

Please sign in to comment.