[latex3-commits] [git/LaTeX3-latex3-l3build] master: Enviromental variables do not need " around them (bdbb19b)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Jun 26 15:23:07 CEST 2019


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

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

commit bdbb19b121e64afc67056339dface22f22541547
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Jun 26 14:23:07 2019 +0100

    Enviromental variables do not need " around them
    
    Indeed, they cause an issue with tree searching!


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

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

diff --git a/l3build-typesetting.lua b/l3build-typesetting.lua
index a15b15b..c8c00cc 100644
--- a/l3build-typesetting.lua
+++ b/l3build-typesetting.lua
@@ -68,7 +68,7 @@ local function runcmd(cmd,dir,vars)
     .. dir .. (typesetsearch and os_pathsep or "")
   -- Deal with spaces in paths
   if os_type == "windows" and match(envpaths," ") then
-    envpaths = '"' .. gsub(envpaths,'"','') .. '"'
+    envpaths = gsub(envpaths,'"','')
   end
   for _,var in pairs(vars) do
     env = env .. os_concat .. os_setenv .. " " .. var .. "=" .. envpaths





More information about the latex3-commits mailing list