summaryrefslogtreecommitdiff
path: root/tex/context/base/l-dir.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2010-06-23 12:45:00 +0200
committerHans Hagen <pragma@wxs.nl>2010-06-23 12:45:00 +0200
commitcb0c6e65703831a34d0ba909f703994a0825beac (patch)
treed9a27e54347ef050c8596ac0c6703da13afca2b5 /tex/context/base/l-dir.lua
parent37850ef35f93a14936b4d7d33790d14c050bbbb4 (diff)
downloadcontext-cb0c6e65703831a34d0ba909f703994a0825beac.tar.gz
beta 2010.06.23 12:45
Diffstat (limited to 'tex/context/base/l-dir.lua')
-rw-r--r--tex/context/base/l-dir.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/l-dir.lua b/tex/context/base/l-dir.lua
index 2643f538b..64ebbeafc 100644
--- a/tex/context/base/l-dir.lua
+++ b/tex/context/base/l-dir.lua
@@ -307,7 +307,7 @@ else
local str, pth, t = "", "", { ... }
for i=1,#t do
local s = t[i]
- if s ~= "" then
+ if s and s ~= "" then -- we catch nil and false
if str ~= "" then
str = str .. "/" .. s
else