[latex3-commits] [git/l3build] sourcedir: Make CTAN subdirs before copying (b299034)

Joseph Wright joseph.wright at morningstar2.co.uk
Sun Dec 10 15:16:03 CET 2017


Repository : https://github.com/latex3/l3build
On branch  : sourcedir
Link       : https://github.com/latex3/l3build/commit/b2990347515490e3345e895eaed4f524e48186aa

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

commit b2990347515490e3345e895eaed4f524e48186aa
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun Dec 10 14:16:03 2017 +0000

    Make CTAN subdirs before copying
    
    On *nix this is required: doesn't show on Windows.


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

b2990347515490e3345e895eaed4f524e48186aa
 l3build.lua |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/l3build.lua b/l3build.lua
index 1ed632a..61d8c79 100644
--- a/l3build.lua
+++ b/l3build.lua
@@ -866,6 +866,7 @@ function copyctan()
   if docfiledir ~= currentdir then
     ctantarget = ctanpkg .. "/" .. gsub(docfiledir, "^%.*/", "")
   end
+  mkdir(ctandir .. "/" .. ctantarget)
   for _,filetype in pairs(
       {
         bibfiles,
@@ -884,6 +885,7 @@ function copyctan()
     ctantarget = ctanpkg .. "/" .. gsub(sourcefiledir, "^%.*/", "")
     print(ctantarget)
   end
+  mkdir(ctandir .. "/" .. ctantarget)
   for _,file in pairs(sourcefiles) do
     if sourcedir ~= currentdir then
     end





More information about the latex3-commits mailing list