summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"