[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Avoid interference between bundles (9fe762df)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Nov 18 17:17:32 CET 2019


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/9fe762df1d24c3b54c5aa2acde9ece61313b34aa

>---------------------------------------------------------------

commit 9fe762df1d24c3b54c5aa2acde9ece61313b34aa
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Nov 18 16:17:32 2019 +0000

    Avoid interference between bundles


>---------------------------------------------------------------

9fe762df1d24c3b54c5aa2acde9ece61313b34aa
 build.lua | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/build.lua b/build.lua
index 9ba78917..1dd280d0 100644
--- a/build.lua
+++ b/build.lua
@@ -37,7 +37,13 @@ function main (target)
     for _,v in ipairs(required) do
       table.insert(t, "required/" .. v)
     end
-   return call(t, target)
+    -- Avoid inter-bundle issues
+    for _,v in ipairs(t) do
+      cleandir(builddir)
+      local errorlevel = call({v},target)
+      if errorlevel ~= 0 then return errorlevel end
+    end
+    return 0
   end
   if target == "check" then
     errorlevel = dobundles ("check")





More information about the latex3-commits mailing list