Skip to content

Commit

Permalink
use original_wd
Browse files Browse the repository at this point in the history
  • Loading branch information
atticus-sullivan committed Nov 25, 2022
1 parent 2b721ae commit d0975f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cluttex.lua
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ local function single_run(auxstatus, iteration)
for l in io.lines(file.abspath) do
local bib = l:match("<bcf:datasource .*>(.*)</bcf:datasource>")
if bib then
updated_dot_bib = not reruncheck.comparefiletime(pathutil.abspath(mainauxfile), "../"..bib, auxstatus) -- TODO absolute path for bib?
updated_dot_bib = not reruncheck.comparefiletime(pathutil.abspath(mainauxfile), original_wd.."/"..bib, auxstatus)
if updated_dot_bib then
message.info(".bib file is newer than main-aux")
break
Expand Down

0 comments on commit d0975f8

Please sign in to comment.