diff options
Diffstat (limited to 'tex/context/base/mkiv/luat-fmt.lua')
-rw-r--r-- | tex/context/base/mkiv/luat-fmt.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/luat-fmt.lua b/tex/context/base/mkiv/luat-fmt.lua index 815ff10db..30792931e 100644 --- a/tex/context/base/mkiv/luat-fmt.lua +++ b/tex/context/base/mkiv/luat-fmt.lua @@ -178,8 +178,9 @@ function environment.make_format(formatname) -- because we can have half qualified paths (in lxc) local binarypath = validbinarypath() report_format("changing to format path %a",validformatpath) - lfs.chdir(validformatpath) - if dir.current() ~= validformatpath then + -- lfs.chdir(validformatpath) + -- if dir.current() ~= validformatpath then + if not lfs.chdir(validformatpath) then return fatalerror(startupdir,"unable to change to format path %a",validformatpath) end -- now we can generate the format, where we use a couple of flags, |