summaryrefslogtreecommitdiff
path: root/scripts/context/lua/mtx-fcd.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2012-08-04 16:40:19 +0300
committerMarius <mariausol@gmail.com>2012-08-04 16:40:19 +0300
commitfb43532b6f9ce833b23619edd9bc81a7a3f16212 (patch)
treed49c0ad79dc0d7244efdc603773184f660f2b767 /scripts/context/lua/mtx-fcd.lua
parent2f920851e38f427bbafbf0ef895d43a0db48611f (diff)
downloadcontext-fb43532b6f9ce833b23619edd9bc81a7a3f16212.tar.gz
beta 2012.08.04 14:00
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