test: use ! in path
This commit is contained in:
parent
8640f8c098
commit
b00c853e2f
@ -1,12 +1,12 @@
|
|||||||
" vim -u test/vimrc
|
" vim -u test/vimrc
|
||||||
set nocompatible
|
set nocompatible
|
||||||
|
|
||||||
let root = '/tmp/vundle-test/bundles/'
|
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'
|
" let src = '~/.vim/bundle/vundle/.git'
|
||||||
|
|
||||||
if !isdirectory(expand(root, 1).'/vundle')
|
if !isdirectory(expand(root, 1).'/vundle')
|
||||||
exec '!git clone '.src.' '.root.'/vundle'
|
exec '!git clone '.src.' '.shellescape(root, 1).'/vundle'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
filetype off
|
filetype off
|
||||||
|
Loading…
Reference in New Issue
Block a user