From 1ac50a9d799d9546fef01e3515d7465ccc1f89e1 Mon Sep 17 00:00:00 2001 From: Stavros Korokithakis Date: Tue, 1 Mar 2022 00:24:51 +0200 Subject: [PATCH] Updates --- build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build b/build index 8f58e88..68dcaf2 100755 --- a/build +++ b/build @@ -23,3 +23,6 @@ sed -i "s/\(href\|src\)=\"[[:alnum:]\-]*\/\//\1=\"\//g" public/print.html # Make checkboxes editable, just in case the user wants to keep their own checklist. find public/ -name "*.html" -type f -exec sed -i 's/input disabled=""/input/g' {} + + +# Replace invalid `path_to_root`. +find public/ -name "*.html" -type f -exec sed -i 's/var path_to_root = "\/.";/var path_to_root = "\/";/g' {} +