aboutsummaryrefslogtreecommitdiff
path: root/nomsu.lua
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-05-24 16:13:23 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-05-24 16:13:46 -0700
commit446892d11ee712839084e4599a07d8decf6b3b54 (patch)
tree7cf53ca93b179614ed8d1f390125e7ef50eb0716 /nomsu.lua
parent0c07968e0716745f7b510a76e94ccf0910e4c4e7 (diff)
Consolidating code obj code and expunging all [[..]]-style lua strings.
Diffstat (limited to 'nomsu.lua')
-rw-r--r--nomsu.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu.lua b/nomsu.lua
index 10a3b66..4d80357 100644
--- a/nomsu.lua
+++ b/nomsu.lua
@@ -89,7 +89,7 @@ all_files = function(path)
end
path = path:gsub("\\", "\\\\"):gsub("`", ""):gsub('"', '\\"'):gsub("$", "")
return coroutine.wrap(function()
- local f = io.popen('find -L "' .. path .. '" -type f -name "*.nom"')
+ local f = io.popen('find -L "' .. path .. '" -not -path "*/\\.*" -type f -name "*.nom"')
for line in f:lines() do
coroutine.yield(line)
end