summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/lualibs/lualibs-file.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-10-04 19:55:23 +0000
committerKarl Berry <karl@freefriends.org>2022-10-04 19:55:23 +0000
commit22f545f91fe1898ef42890c165100b08a1b15d61 (patch)
tree8022fe3218555a6c30f75d51d9537db1df4705f0 /Master/texmf-dist/tex/luatex/lualibs/lualibs-file.lua
parent03353bdb02ab6a1bae291448d1fc00aff5711fed (diff)
lualibs (4oct22)
git-svn-id: svn://tug.org/texlive/trunk@64615 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/lualibs/lualibs-file.lua')
-rw-r--r--Master/texmf-dist/tex/luatex/lualibs/lualibs-file.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/luatex/lualibs/lualibs-file.lua b/Master/texmf-dist/tex/luatex/lualibs/lualibs-file.lua
index d0af94f09d4..9f8fd654833 100644
--- a/Master/texmf-dist/tex/luatex/lualibs/lualibs-file.lua
+++ b/Master/texmf-dist/tex/luatex/lualibs/lualibs-file.lua
@@ -456,7 +456,7 @@ function file.join(one, two, three, ...)
if not two then
return one == "" and one or lpegmatch(reslasher,one)
end
- if one == "" then
+ if not one or one == "" then
return lpegmatch(stripper,three and concat({ two, three, ... },"/") or two)
end
if lpegmatch(isnetwork,one) then