aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/notYetAnotherWiki.lua
diff options
context:
space:
mode:
authordvs12024-12-22 03:25:18 +1000
committerdvs12024-12-22 03:25:18 +1000
commit1ed6c0b61ac80c2f1ba7b6e79eb75c4257cc4de9 (patch)
treed1538cfe32e22e1724df36066ea4fd5e8b91baef /notYetAnotherWiki.lua
parentLet's see if a symlink will keep the old cgit happy. (diff)
downloadnotYetAnotherWiki-1ed6c0b61ac80c2f1ba7b6e79eb75c4257cc4de9.zip
notYetAnotherWiki-1ed6c0b61ac80c2f1ba7b6e79eb75c4257cc4de9.tar.gz
notYetAnotherWiki-1ed6c0b61ac80c2f1ba7b6e79eb75c4257cc4de9.tar.bz2
notYetAnotherWiki-1ed6c0b61ac80c2f1ba7b6e79eb75c4257cc4de9.tar.xz
Try it the other way, cgit is fussy about it's README.
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, ''