aboutsummaryrefslogtreecommitdiff
path: root/nomsu.lua
diff options
context:
space:
mode:
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 cc335ec..07cd17f 100644
--- a/nomsu.lua
+++ b/nomsu.lua
@@ -88,7 +88,7 @@ all_files = function(path)
return iterate_single, path
end
path = path:gsub("\\", "\\\\"):gsub("`", ""):gsub('"', '\\"'):gsub("$", "")
- return io.popen("find -L \"" .. path .. "\" -type f -name \"*.nom\""):lines()
+ return io.popen('find -L "' .. path .. '" -type f -name "*.nom"'):lines()
end
local line_counter = re.compile([[ lines <- {| line (%nl line)* |}
line <- {} (!%nl .)*