diff options
author | starkos <none@none> | 2008-12-22 22:21:06 +0300 |
---|---|---|
committer | starkos <none@none> | 2008-12-22 22:21:06 +0300 |
commit | 29d0786ba09d44886104ee9fefb5c7d5f4c597c5 (patch) | |
tree | 9f3303f4b9f472979552855e203be9c3758374b2 /src | |
parent | 6065a87ef196d8026f32dcece12cd852abc7f248 (diff) |
Fixed file recursion wildcard
Diffstat (limited to 'src')
-rw-r--r-- | src/base/os.lua | 2 |
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 |