diff options
Diffstat (limited to 'tex/context/base/l-os.lua')
-rw-r--r-- | tex/context/base/l-os.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tex/context/base/l-os.lua b/tex/context/base/l-os.lua index 0448710ff..86b395a1d 100644 --- a/tex/context/base/l-os.lua +++ b/tex/context/base/l-os.lua @@ -10,6 +10,7 @@ if not modules then modules = { } end modules ['l-os'] = { local os = os local find, format, gsub, upper = string.find, string.format, string.gsub, string.upper +local concat = table.concat local random, ceil = math.random, math.ceil local rawget, rawset, type, getmetatable, setmetatable, tonumber = rawget, rawset, type, getmetatable, setmetatable, tonumber @@ -33,6 +34,9 @@ if not os.__getenv__ then end local K = upper(k) osenv[K] = v + if type(v) == "table" then + v = concat(v,";") -- path + end ossetenv(K,v) end |