Index: build/update-wiki
==================================================================
--- build/update-wiki
+++ build/update-wiki
@@ -1,9 +1,11 @@
#! /bin/bash
+sourcedir="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
+
(
echo '
NAME
'
- man2html -H linux.die.net -M /man -p filed.1 | \
+ man2html -H linux.die.net -M /man -p "${sourcedir}/filed.1" | \
sed '0,/NAME<\/H2>/ d;/Index<\/H2>/,$ d;s@Return to Main Contents@@;s@\[@\[@g;s@\]@\]@g' | \
sed '$ d;/^ *$/ d' | \
sed 's@\(http://linux.die.net/man/[^+]*\)+@\1/@'
) | fossil wiki commit Manual