[latex3-commits] [l3svn] branch master updated: l3build: Need to santize abspath values

noreply at latex-project.org noreply at latex-project.org
Sat May 20 14:02:10 CEST 2017


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

The following commit(s) were added to refs/heads/master by this push:
       new  426de6e   l3build: Need to santize abspath values
426de6e is described below

commit 426de6eb37f9f3bcf41cb41d55c597a0146ab461
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sat May 20 13:01:42 2017 +0100

    l3build: Need to santize abspath values
    
    Issues can come up on Windows otherwise.
---
 l3build/l3build.lua |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/l3build/l3build.lua b/l3build/l3build.lua
index da1283b..e2373f9 100644
--- a/l3build/l3build.lua
+++ b/l3build/l3build.lua
@@ -572,7 +572,7 @@ function abspath(path)
   lfs.chdir(path)
   local result = lfs.currentdir()
   lfs.chdir(oldpwd)
-  return result
+  return gsub(result, "\\", "/")
 end
 
 -- Rename

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list