Fix #374 shellescape problem
This commit is contained in:
committed by
gmarik
parent
a3c4c03a4c
commit
6b45d873bc
13
test/vimrc
13
test/vimrc
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user