From 8cc4983e38e3a35f6aa71d59ba377e9bce0dfeea Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Sat, 4 Feb 2023 13:19:15 -0800 Subject: update script yet again --- finalize_build.sh | 6 +++--- 1 file 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||\| Back|g' "$i" + sed -i -e 's||\| Back|g' "$i" else - gsed -i -e 's||\| Back|g' "$i" + sed -i -e 's||\| Back|g' "$i" fi done; -gsed -i -e 's|\| Back||g' "$ROOT_DIR/index.html" +sed -i -e 's|\| Back||g' "$ROOT_DIR/index.html" -- cgit