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

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Dec 11 13:52:34 CET 2017


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

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

commit f3b0a7b16dba29ceaa9294d1895336f0dc615359
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.


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

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

diff --git a/l3build.lua b/l3build.lua
index 659da10..56a568c 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