Checker javac: _really_ fix shell escaping in custom_classpath_command.

This commit is contained in:
LCD 47 2015-06-25 23:21:47 +03:00
parent dc15fa08c5
commit c9fc0d41e7
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ if has('reltime')
lockvar! g:_SYNTASTIC_START
endif
let g:_SYNTASTIC_VERSION = '3.6.0-107'
let g:_SYNTASTIC_VERSION = '3.6.0-108'
lockvar g:_SYNTASTIC_VERSION
" Sanity checks {{{1

View File

@ -134,7 +134,7 @@ function! SyntaxCheckers_java_javac_GetLocList() dict " {{{1
for sub in [['\V%FILE_PATH%', expand('%:p')],
\ ['\V%FILE_NAME%', expand('%:t')],
\ ['\V%FILE_DIR%', expand('%:p:h')]]
let classpath_command = substitute(classpath_command, sub[0], syntastic#util#shexpand(sub[1]), 'g')
let classpath_command = substitute(classpath_command, sub[0], syntastic#util#shescape(sub[1]), 'g')
endfor
let lines = syntastic#util#system(classpath_command)
if syntastic#util#isRunningWindows() || has('win32unix')