[latex3-commits] [git/l3build] master: Fix an issue in cp() (fda7133)

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/fda71331ed32ac12f516e8c33cc24491d126bb30

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

commit fda71331ed32ac12f516e8c33cc24491d126bb30
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sat Dec 9 17:07:20 2017 +0000

    Fix an issue in cp()
    
    Shows up when copying recursively.


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

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

diff --git a/l3build.lua b/l3build.lua
index 3d94ddb..78b44af 100644
--- a/l3build.lua
+++ b/l3build.lua
@@ -612,7 +612,7 @@ function cp(glob, source, dest)
       else
         errorlevel = execute(
           'xcopy /y "' .. unix_to_win(source) .. '" "'
-             .. unix_to_win(dest) .. '" > nul'
+             .. unix_to_win(dest .. '/') .. '" > nul'
         )
       end
     else





More information about the latex3-commits mailing list