[latex3-commits] [git/l3build] sourcedir: Fix an issue in cp() (976e579)

Joseph Wright joseph.wright at morningstar2.co.uk
Sat Dec 9 18:07:20 CET 2017


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

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

commit 976e579563ab226377f049408c936b878dc99ab6
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.


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

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

diff --git a/l3build.lua b/l3build.lua
index 3a9df1b..a80d32a 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