From 1ed6c0b61ac80c2f1ba7b6e79eb75c4257cc4de9 Mon Sep 17 00:00:00 2001 From: dvs1 Date: Sun, 22 Dec 2024 03:25:18 +1000 Subject: Try it the other way, cgit is fussy about it's README. --- notYetAnotherWiki.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'notYetAnotherWiki.lua') diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua index 977a117..e7f0873 100755 --- a/notYetAnotherWiki.lua +++ b/notYetAnotherWiki.lua @@ -117,7 +117,7 @@ end local directory = arg[1] if nil == directory then directory = '.' end -for l in io.popen('find ' .. directory .. ' -name "*.md" -type f -printf "%P\n"'):lines() do +for l in io.popen('find ' .. directory .. ' -name "*.md" -type f,l -printf "%P\n"'):lines() do local dir = '' local files, subs = {}, {} local c, parent = 1, '' -- cgit v1.1