summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/context/stubs/mswin/mtxrun.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/context/stubs/mswin/mtxrun.lua')
-rwxr-xr-xMaster/texmf-dist/scripts/context/stubs/mswin/mtxrun.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/texmf-dist/scripts/context/stubs/mswin/mtxrun.lua b/Master/texmf-dist/scripts/context/stubs/mswin/mtxrun.lua
index 40c61ef000c..5fbc817e24a 100755
--- a/Master/texmf-dist/scripts/context/stubs/mswin/mtxrun.lua
+++ b/Master/texmf-dist/scripts/context/stubs/mswin/mtxrun.lua
@@ -10044,7 +10044,7 @@ local function splitpathexpr(str, newlist, validate) -- I couldn't resist lpeggi
if validate then
for s in gmatch(str,"[^,]+") do
local restoreslashes = false
- if gmatch(s, "//$") then restoreslashes = true end
+ if find(s, "//$") then restoreslashes = true end
s = validate(s)
if s then
n = n + 1 ; t[n] = s
@@ -12103,6 +12103,7 @@ local function collect_instance_files(filename,askedformat,allresults) -- todo :
local path = pathlist[k]
local pathname = lpegmatch(inhibitstripper,path)
local doscan = path == pathname -- no ^!!
+ if not find (pathname, '//$') then doscan = false end
done = false
-- using file list
if filelist then