aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/notYetAnotherWiki.lua
diff options
context:
space:
mode:
Diffstat (limited to 'notYetAnotherWiki.lua')
-rwxr-xr-xnotYetAnotherWiki.lua2
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
118local directory = arg[1] 118local directory = arg[1]
119if nil == directory then directory = '.' end 119if nil == directory then directory = '.' end
120for l in io.popen('find ' .. directory .. ' -name "*.md" -type f -printf "%P\n"'):lines() do 120for 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, ''