From 6fa2494ecca8bcb0467bc8443138c28a8b413329 Mon Sep 17 00:00:00 2001 From: Peter Date: Thu, 10 Feb 2022 22:57:20 +0100 Subject: [PATCH] test --- script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.sh b/script.sh index 45b4c9236..2f203b726 100644 --- a/script.sh +++ b/script.sh @@ -1,5 +1,5 @@ #/bin/bash -find ./site/ -maxdepth 3 -mindepth 2 -type f -name 'index.html' -not -path './site/de/*' -not -path './site/en/*' | while read f; do +find ./site/ -maxdepth 2 -mindepth 2 -type f -name 'index.html' -not -path './site/de/*' -not -path './site/en/*' | while read f; do echo "Fixing redirect ''$f'..." sed -i -E 's/\.en\/"/\/"/' $f done