diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/doclist | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/doclist b/tools/doclist index d94da7f..b24843b 100755 --- a/tools/doclist +++ b/tools/doclist @@ -2,7 +2,7 @@ # # Generates HTML fragment for document list # -# Copyright (C) 2013 Mike Gerwitz +# Copyright (C) 2013, 2015 Mike Gerwitz # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -50,7 +50,7 @@ echo '<ol class="docs">' # TODO: use hashcache abstraction via repo2html...file format could change # TODO: would be useful to sort on subject for c in docs/papers/thoughts/*; do - grep "^${c##*/}" .hashcache \ + grep "^${c##*/*_}" .hashcache \ | head -n1 \ | { read h u t && printf '<li><a href="/%s">%s</a></li>\n' "$u" "$t"; } done |