Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/os.lua')
-rw-r--r--src/base/os.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/base/os.lua b/src/base/os.lua
index deff1d0..bc33451 100644
--- a/src/base/os.lua
+++ b/src/base/os.lua
@@ -206,7 +206,9 @@
while (os.matchnext(m)) do
if not os.matchisfile(m) then
local dirname = os.matchname(m)
- matchwalker(path.join(basedir, dirname))
+ if (not dirname:startswith(".")) then
+ matchwalker(path.join(basedir, dirname))
+ end
end
end
os.matchdone(m)