summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/l-file.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2021-08-30 17:21:31 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2021-08-30 17:21:31 +0200
commit65bc427dff7ea819abb9b38a0407026baf13a0cc (patch)
tree6536fd752b3b52a504b274f20b1f58def4455910 /tex/context/base/mkiv/l-file.lua
parent59dfd8f21ca1a5c793a89b6af87a28df5a78a3d3 (diff)
downloadcontext-65bc427dff7ea819abb9b38a0407026baf13a0cc.tar.gz
2021-08-30 16:23:00
Diffstat (limited to 'tex/context/base/mkiv/l-file.lua')
-rw-r--r--tex/context/base/mkiv/l-file.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/l-file.lua b/tex/context/base/mkiv/l-file.lua
index d0af94f09..9f8fd6548 100644
--- a/tex/context/base/mkiv/l-file.lua
+++ b/tex/context/base/mkiv/l-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