Skip to content

Commit

Permalink
Added quotes to external command calls
Browse files Browse the repository at this point in the history
The quotes are needed if the username has spaces, which can be common on
Windows environment.
  • Loading branch information
XCMer committed Nov 29, 2012
1 parent fe6ea83 commit 0ec8486
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions spf13-vim-windows-install.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
@if not exist "%HOME%" @set HOME=%USERPROFILE%

@set BASE_DIR=%HOME%\.spf13-vim-3
call git clone --recursive -b 3.0 git://github.com/spf13/spf13-vim.git %BASE_DIR%
call mkdir %BASE_DIR%\.vim\bundle
call mklink /J %HOME%\.vim %BASE_DIR%\.vim
call mklink %HOME%\.vimrc %BASE_DIR%\.vimrc
call mklink %HOME%\_vimrc %BASE_DIR%\.vimrc
call mklink %HOME%\.vimrc.bundles %BASE_DIR%\.vimrc.bundles
call git clone --recursive -b 3.0 git://github.com/spf13/spf13-vim.git "%BASE_DIR%"
call mkdir "%BASE_DIR%\.vim\bundle"
call mklink /J "%HOME%\.vim" "%BASE_DIR%\.vim"
call mklink "%HOME%\.vimrc" "%BASE_DIR%\.vimrc"
call mklink "%HOME%\_vimrc" "%BASE_DIR%\.vimrc"
call mklink "%HOME%\.vimrc.bundles" "%BASE_DIR%\.vimrc.bundles"

call git clone http://github.com/gmarik/vundle.git %HOME%/.vim/bundle/vundle
call git clone http://github.com/gmarik/vundle.git "%HOME%/.vim/bundle/vundle"
call vim -u "$BASE_DIR/.vimrc.bundles" - +BundleInstall! +BundleClean +qall

0 comments on commit 0ec8486

Please sign in to comment.