summaryrefslogtreecommitdiff
path: root/tex/generic
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2013-05-22 23:00:25 +0300
committerMarius <mariausol@gmail.com>2013-05-22 23:00:25 +0300
commita61813ccdd4b7bcc81932317e1360fda6c79962d (patch)
treedfafb69e9a6854747a637aaef661c5d269214a0f /tex/generic
parent4cbc44edaf20dc07bd22296153761137b27d8eff (diff)
downloadcontext-a61813ccdd4b7bcc81932317e1360fda6c79962d.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