diff options
author | Karl Berry <karl@freefriends.org> | 2022-10-04 19:55:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-10-04 19:55:23 +0000 |
commit | 22f545f91fe1898ef42890c165100b08a1b15d61 (patch) | |
tree | 8022fe3218555a6c30f75d51d9537db1df4705f0 /Master/texmf-dist/tex/luatex/lualibs/lualibs-file.lua | |
parent | 03353bdb02ab6a1bae291448d1fc00aff5711fed (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.lua | 2 |
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 |