diff options
Diffstat (limited to 'notYetAnotherWiki.lua')
-rwxr-xr-x | notYetAnotherWiki.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua index 977a117..e7f0873 100755 --- a/notYetAnotherWiki.lua +++ b/notYetAnotherWiki.lua | |||
@@ -117,7 +117,7 @@ end | |||
117 | 117 | ||
118 | local directory = arg[1] | 118 | local directory = arg[1] |
119 | if nil == directory then directory = '.' end | 119 | if nil == directory then directory = '.' end |
120 | for l in io.popen('find ' .. directory .. ' -name "*.md" -type f -printf "%P\n"'):lines() do | 120 | for l in io.popen('find ' .. directory .. ' -name "*.md" -type f,l -printf "%P\n"'):lines() do |
121 | local dir = '' | 121 | local dir = '' |
122 | local files, subs = {}, {} | 122 | local files, subs = {}, {} |
123 | local c, parent = 1, '' | 123 | local c, parent = 1, '' |