don't break when efm_perl.pl isn't executable

This commit is contained in:
Nate Jones 2011-09-09 17:44:59 -07:00
parent cf6aa9a414
commit 612225d9be

View File

@ -24,7 +24,7 @@ if !executable("perl")
endif
if !exists("g:syntastic_perl_efm_program")
let g:syntastic_perl_efm_program = $VIMRUNTIME.'/tools/efm_perl.pl -c'
let g:syntastic_perl_efm_program = 'perl '.$VIMRUNTIME.'/tools/efm_perl.pl -c'
endif
function! SyntaxCheckers_perl_GetLocList()