summaryrefslogtreecommitdiff
path: root/finalize_build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'finalize_build.sh')
-rwxr-xr-xfinalize_build.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/finalize_build.sh b/finalize_build.sh
index b48c6ca..474be13 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
- sed -i -e 's|<!--BACKDIR-->|\| <a href="\.\./index\.html">Back</a>|g' "$i"
+ gsed -i -e 's|<!--BACKDIR-->|\| <a href="\.\./index\.html">Back</a>|g' "$i"
else
- sed -i -e 's|<!--BACKDIR-->|\| <a href="\./index\.html">Back</a>|g' "$i"
+ gsed -i -e 's|<!--BACKDIR-->|\| <a href="\./index\.html">Back</a>|g' "$i"
fi
done;
-sed -i -e 's|\| <a href="\.\./index\.html">Back</a>||g' "$ROOT_DIR/index.html"
+gsed -i -e 's|\| <a href="\.\./index\.html">Back</a>||g' "$ROOT_DIR/index.html"