diff options
| author | dvs1 | 2024-12-22 03:25:18 +1000 |
|---|---|---|
| committer | dvs1 | 2024-12-22 03:25:18 +1000 |
| commit | 1ed6c0b61ac80c2f1ba7b6e79eb75c4257cc4de9 (patch) | |
| tree | d1538cfe32e22e1724df36066ea4fd5e8b91baef /notYetAnotherWiki.lua | |
| parent | Let's see if a symlink will keep the old cgit happy. (diff) | |
| download | notYetAnotherWiki-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 '')
| -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, '' |
