From 446892d11ee712839084e4599a07d8decf6b3b54 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 24 May 2018 16:13:23 -0700 Subject: Consolidating code obj code and expunging all [[..]]-style lua strings. --- nomsu.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nomsu.lua') 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 -- cgit v1.2.3