From e2ec6beaa490d0637b373c13ad28565e09e631e0 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Sat, 3 Jun 2023 00:57:21 +0200 Subject: [PATCH] More fixing of fixup.sh --- docker/fixup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/fixup.sh b/docker/fixup.sh index bf9db2f..6a2c6bb 100755 --- a/docker/fixup.sh +++ b/docker/fixup.sh @@ -1,6 +1,7 @@ #!/bin/bash dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" pushd $dir/.. > /dev/null +git checkout -- . pushd site find . -type f -name "*.html" -print0 | while IFS= read -r -d $'\0' file; do sed -i 's/href="index\.html"/href="index-old.html"/g' "$file"