summaryrefslogtreecommitdiff
path: root/tex/generic
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2013-05-22 19:28:00 +0200
committerHans Hagen <pragma@wxs.nl>2013-05-22 19:28:00 +0200
commitd1745ffcb7ddc6271bb9e5dd2d4e1b8f40531bd8 (patch)
tree7cb69565d029c6500aa87255190d00c661506a63 /tex/generic
parent9d8e8c6d368abc72eae60cc0b24984cc2506a1bf (diff)
downloadcontext-d1745ffcb7ddc6271bb9e5dd2d4e1b8f40531bd8.tar.gz
beta 2013.05.22 19:28
Diffstat (limited to 'tex/generic')
-rw-r--r--tex/generic/context/luatex/luatex-fonts-merged.lua16
1 files changed, 5 insertions, 11 deletions
diff --git a/tex/generic/context/luatex/luatex-fonts-merged.lua b/tex/generic/context/luatex/luatex-fonts-merged.lua
index 310febe96..5789db6c8 100644
--- a/tex/generic/context/luatex/luatex-fonts-merged.lua
+++ b/tex/generic/context/luatex/luatex-fonts-merged.lua
@@ -1,6 +1,6 @@
-- merged file : luatex-fonts-merged.lua
-- parent file : luatex-fonts.lua
--- merge date : 05/21/13 16:14:48
+-- merge date : 05/22/13 19:28:51
do -- begin closure to overcome local limits and interference
@@ -2310,16 +2310,10 @@ function file.strip(name,dir)
end
end
function lfs.mkdirs(path)
- local full
- for sub in gmatch(path,"([^\\/]+)") do
- if full then
- full=full.."/"..sub
- else
- full=sub
- end
- if not lfs.isdir(full) then
- lfs.mkdir(full)
- end
+ local full=""
+ for sub in gmatch(path,"(/*[^\\/]+)") do
+ full=full..sub
+ lfs.mkdir(full)
end
end