Fixed minor bug in latexmk clean

This commit is contained in:
Karl Yngve Lervåg 2014-11-19 13:59:41 +01:00
parent c2b5f12691
commit b780071121

View File

@ -86,12 +86,12 @@ function! latex#latexmk#clean(full) " {{{1
else else
let cmd = 'cd ' . shellescape(data.root) . '; ' let cmd = 'cd ' . shellescape(data.root) . '; '
endif endif
let cmd .= 'latexmk -outdir=' . g:latex_build_dir
if a:full if a:full
let cmd .= 'latexmk -C ' let cmd .= ' -C '
else else
let cmd .= 'latexmk -c ' let cmd .= ' -c '
endif endif
let cmd .= ' -outdir=' . g:latex_build_dir
let cmd .= shellescape(data.base) let cmd .= shellescape(data.base)
let g:latex#data[b:latex.id].cmds.clean = cmd let g:latex#data[b:latex.id].cmds.clean = cmd
let exe = { let exe = {