summaryrefslogtreecommitdiff
path: root/tex/context/base/l-dir.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2014-11-05 16:15:04 +0100
committerContext Git Mirror Bot <phg42.2a@gmail.com>2014-11-05 16:15:04 +0100
commitb3f3cb27a35cd05a3c87e610cd616e19a8938359 (patch)
tree10bd0815c23c1f0c0f1eb6378fa26367e90fc168 /tex/context/base/l-dir.lua
parentf717601b37191318ca44d793ccee6fa1cc2381e7 (diff)
downloadcontext-b3f3cb27a35cd05a3c87e610cd616e19a8938359.tar.gz
2014-11-05 15:24:00
Diffstat (limited to 'tex/context/base/l-dir.lua')
-rw-r--r--tex/context/base/l-dir.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/l-dir.lua b/tex/context/base/l-dir.lua
index bcf28d011..c56af1b73 100644
--- a/tex/context/base/l-dir.lua
+++ b/tex/context/base/l-dir.lua
@@ -156,7 +156,7 @@ end
local function globpattern(path,patt,recurse,method)
local kind = type(method)
- if pattern and sub(patt,1,-3) == path then
+ if patt and sub(patt,1,-3) == path then
patt = false
end
if kind == "function" then
@@ -209,7 +209,7 @@ end
dir.collectpattern = collectpattern
-local separator
+local separator, pattern
if onwindows then -- we could sanitize here