Checker javac: _really_ fix shell escaping in custom_classpath_command.
This commit is contained in:
parent
dc15fa08c5
commit
c9fc0d41e7
@ -19,7 +19,7 @@ if has('reltime')
|
|||||||
lockvar! g:_SYNTASTIC_START
|
lockvar! g:_SYNTASTIC_START
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let g:_SYNTASTIC_VERSION = '3.6.0-107'
|
let g:_SYNTASTIC_VERSION = '3.6.0-108'
|
||||||
lockvar g:_SYNTASTIC_VERSION
|
lockvar g:_SYNTASTIC_VERSION
|
||||||
|
|
||||||
" Sanity checks {{{1
|
" Sanity checks {{{1
|
||||||
|
@ -134,7 +134,7 @@ function! SyntaxCheckers_java_javac_GetLocList() dict " {{{1
|
|||||||
for sub in [['\V%FILE_PATH%', expand('%:p')],
|
for sub in [['\V%FILE_PATH%', expand('%:p')],
|
||||||
\ ['\V%FILE_NAME%', expand('%:t')],
|
\ ['\V%FILE_NAME%', expand('%:t')],
|
||||||
\ ['\V%FILE_DIR%', expand('%:p:h')]]
|
\ ['\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
|
endfor
|
||||||
let lines = syntastic#util#system(classpath_command)
|
let lines = syntastic#util#system(classpath_command)
|
||||||
if syntastic#util#isRunningWindows() || has('win32unix')
|
if syntastic#util#isRunningWindows() || has('win32unix')
|
||||||
|
Loading…
Reference in New Issue
Block a user