[latex3-commits] [git/LaTeX3-latex3-l3build] master: Move where modules is set up (a751454)

Joseph Wright joseph.wright at morningstar2.co.uk
Sun Jul 29 21:38:46 CEST 2018


Repository : https://github.com/latex3/l3build
On branch  : master
Link       : https://github.com/latex3/l3build/commit/a75145491abc2e673004fbf22e3a8026b4367a45

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

commit a75145491abc2e673004fbf22e3a8026b4367a45
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun Jul 29 20:38:46 2018 +0100

    Move where modules is set up
    
    This is needed by bundleclean(): may consider an adjustment to
    how that works more generally.


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

a75145491abc2e673004fbf22e3a8026b4367a45
 l3build-stdmain.lua |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/l3build-stdmain.lua b/l3build-stdmain.lua
index 279916a..8c39da9 100644
--- a/l3build-stdmain.lua
+++ b/l3build-stdmain.lua
@@ -149,11 +149,11 @@ function stdmain(target,names)
   end
   local errorlevel = 0
   if module == "" then
+    modules = modules or listmodules()
     if target_list[target].bundle_func then
       errorlevel = target_list[target].bundle_func(names)
     else
       -- Detect all of the modules
-      modules = modules or listmodules()
       if target_list[target].bundle_target then
         target = "bundle" .. target
       end





More information about the latex3-commits mailing list