From 80e6e3c91ab2e819cbe27296d21df6e1e582c16b Mon Sep 17 00:00:00 2001 From: gmarik Date: Thu, 25 Aug 2011 12:37:06 -0500 Subject: [PATCH] escape path --- autoload/vundle/installer.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index 7f84fb5..3c30a6c 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -145,7 +145,7 @@ func! vundle#installer#delete(bang, dir_name) abort \ 'rm -rf' let bundle = vundle#config#init_bundle(a:dir_name, {}) - let cmd .= ' '.bundle.path() + let cmd .= ' '.shellescape(bundle.path()) let out = s:system(cmd)