Fix #374 shellescape problem

This commit is contained in:
Shougo Matsushita
2014-02-07 07:09:16 +09:00
committed by gmarik
parent a3c4c03a4c
commit 6b45d873bc
3 changed files with 18 additions and 20 deletions

View File

@@ -4,28 +4,27 @@ set nocompatible
set nowrap
let root = '/tmp/!vundle-test/bundles/'
let src = 'http://github.com/gmarik/vundle.git'
" let src = 'http://github.com/gmarik/vundle.git'
" let src = '~/.vim/bundle/vundle/.git'
" Vundle Options
" let g:vundle_default_git_proto = 'git'
if !isdirectory(expand(root, 1).'/vundle')
exec '!git clone '.src.' '.shellescape(root, 1).'/vundle'
endif
" if !isdirectory(expand(root, 1).'/vundle')
" exec '!git clone '.src.' '.shellescape(root, 1).'/vundle'
" endif
filetype off
syntax on
runtime macros/matchit.vim
exec 'set rtp+='.root.'/vundle'
" This test should be executed in "test" directory
set rtp+=..
call vundle#rc(root)
Bundle "gmarik/vundle"
" vim-scripts name
Bundle 'molokai'