about summary refs log tree commit diff
path: root/gen
diff options
context:
space:
mode:
Diffstat (limited to 'gen')
-rwxr-xr-xgen3
1 files changed, 2 insertions, 1 deletions
diff --git a/gen b/gen
index 16a79fa..31acfa4 100755
--- a/gen
+++ b/gen
@@ -15,4 +15,5 @@ find -name "m.htm" -exec sh -c '
 		sed -i "s,8\",8\"\ \/\>\<meta\ http-equiv=\"refresh\"\ content=\"0\;url=$redirect\"," ${1%/*}/index.html
 	fi
 ' sh {} \;
-sed "s/\.\.\///g" e/index.html >404.html
+sed "s/\.\.\///g" e/index.html >err.html
+cp err.html 404.html