From e4715271ec7280b860a428625e04b8dd557e2236 Mon Sep 17 00:00:00 2001 From: gmarik Date: Fri, 19 Aug 2011 00:44:30 -0500 Subject: [PATCH] initialize bundle instead crafting path manually --- autoload/vundle/installer.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index 7007c12..b63a6fa 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -146,8 +146,8 @@ func! vundle#installer#delete(bang, dir_name) abort \ 'rmdir /S /Q' : \ 'rm -rf' - let path = shellescape(expand(g:bundle_dir.'/'.a:dir_name)) - let cmd .= ' '.path + let bundle = vundle#config#init_bundle(a:dir_name, {}) + let cmd .= ' '.bundle.path() let out = s:system(cmd)