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

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorstarkos <none@none>2008-12-22 22:21:06 +0300
committerstarkos <none@none>2008-12-22 22:21:06 +0300
commit29d0786ba09d44886104ee9fefb5c7d5f4c597c5 (patch)
tree9f3303f4b9f472979552855e203be9c3758374b2 /src
parent6065a87ef196d8026f32dcece12cd852abc7f248 (diff)
Fixed file recursion wildcard
Diffstat (limited to 'src')
-rw-r--r--src/base/os.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/os.lua b/src/base/os.lua
index 42ca8df..6cd7791 100644
--- a/src/base/os.lua
+++ b/src/base/os.lua
@@ -44,7 +44,7 @@
os.matchdone(m)
-- if the mask uses "**", recurse subdirectories
- if (mask:find("**")) then
+ if (mask:find("**", nil, true)) then
mask = path.getname(mask)
m = os.matchstart(path.join(basedir, "*"))
while (os.matchnext(m)) do