[latex3-commits] [git/l3build] sourcefiledir: Enable sourcefiledir for unpack() (b6b42e6)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Nov 28 12:09:14 CET 2017


Repository : https://github.com/latex3/l3build
On branch  : sourcefiledir
Link       : https://github.com/latex3/l3build/commit/b6b42e6478b42794a251d9f543fe58cb31f9ab58

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

commit b6b42e6478b42794a251d9f543fe58cb31f9ab58
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Nov 28 11:09:14 2017 +0000

    Enable sourcefiledir for unpack()


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

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

diff --git a/l3build.lua b/l3build.lua
index 56bed90..347a559 100644
--- a/l3build.lua
+++ b/l3build.lua
@@ -2333,7 +2333,7 @@ bundleunpack = bundleunpack or function(sourcedirs, sources)
   if errorlevel ~=0 then
     return errorlevel
   end
-  for _,i in ipairs(sourcedirs or {"."}) do
+  for _,i in ipairs(sourcedirs or {sourcefiledir}) do
     for _,j in ipairs(sources or {sourcefiles}) do
       for _,k in ipairs(j) do
         errorlevel = cp(k, i, unpackdir)





More information about the latex3-commits mailing list