summaryrefslogtreecommitdiff
path: root/scripts/context/lua/mtx-fcd.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/context/lua/mtx-fcd.lua')
-rw-r--r--scripts/context/lua/mtx-fcd.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/context/lua/mtx-fcd.lua b/scripts/context/lua/mtx-fcd.lua
index d96d0bad3..d7e1d17a7 100644
--- a/scripts/context/lua/mtx-fcd.lua
+++ b/scripts/context/lua/mtx-fcd.lua
@@ -297,7 +297,7 @@ local function globdirs(path,dirs)
for name in lfs.dir(path) do
if not find(name,"%.$") then
local fullname = path .. "/" .. name
- if lfs.isdir(fullname) then
+ if lfs.isdir(fullname) and not find(fullname,"/%.") then
dirs[#dirs+1] = fullname
globdirs(fullname,dirs)
end