summaryrefslogtreecommitdiff
path: root/finalize_build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'finalize_build.sh')
-rwxr-xr-xfinalize_build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/finalize_build.sh b/finalize_build.sh
index 831acff..b48c6ca 100755
--- a/finalize_build.sh
+++ b/finalize_build.sh
@@ -6,7 +6,7 @@ for i in $(find "$ROOT_DIR" -type f -name '*.html'); do
if [ "$(basename "$i")" = 'index.html' ];
then
sed -i -e 's|<!--BACKDIR-->|\| <a href="\.\./index\.html">Back</a>|g' "$i"
- elif [ "$i" == "*.html" ]; then
+ else
sed -i -e 's|<!--BACKDIR-->|\| <a href="\./index\.html">Back</a>|g' "$i"
fi
done;