summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2023-02-04 13:19:15 -0800
committerPreston Pan <preston@nullring.xyz>2023-02-04 13:19:15 -0800
commit8cc4983e38e3a35f6aa71d59ba377e9bce0dfeea (patch)
treeb15069d440b6de684c5bb5d8024052eef938f0c9
parentefcbae35607ee7406e97e9075a6b23c505bcf2be (diff)
update script yet again
-rwxr-xr-xfinalize_build.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/finalize_build.sh b/finalize_build.sh
index ddcc7c6..0042901 100755
--- a/finalize_build.sh
+++ b/finalize_build.sh
@@ -5,10 +5,10 @@ ROOT_DIR="./build/website/"
for i in $(find "$ROOT_DIR" -type f -name '*.html'); do
if [ "$(basename "$i")" = 'index.html' ];
then
- gsed -i -e 's|<!--BACKDIR-->|\| <a href="\.\./index\.html">Back</a>|g' "$i"
+ sed -i -e 's|<!--BACKDIR-->|\| <a href="\.\./index\.html">Back</a>|g' "$i"
else
- gsed -i -e 's|<!--BACKDIR-->|\| <a href="\./index\.html">Back</a>|g' "$i"
+ sed -i -e 's|<!--BACKDIR-->|\| <a href="\./index\.html">Back</a>|g' "$i"
fi
done;
-gsed -i -e 's|\| <a href="\.\./index\.html">Back</a>||g' "$ROOT_DIR/index.html"
+sed -i -e 's|\| <a href="\.\./index\.html">Back</a>||g' "$ROOT_DIR/index.html"