13
0

fix search for include scripts in grep expression

This commit is contained in:
Paul Davis 2020-04-23 17:09:01 -06:00
parent 847eb93784
commit 9ce0fa3daf

View File

@ -2,7 +2,7 @@
function scripts (path)
local out = io.popen (
string.format ("find '%s' -maxdepth 1 -type f -iname \"[^_]*.lua\" | grep -ve s_", path)
string.format ("find '%s' -maxdepth 1 -type f -iname \"[^_]*.lua\" | grep -ve /s_", path)
)
return function()
for file in out:lines() do