Skip to content

Commit d2844a0

Browse files
committed
test
1 parent 372e561 commit d2844a0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/fix_redirects.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#/bin/bash
2-
cd ../../ # go in docsdir
3-
ls -lah
4-
find ./site/ -maxdepth 2 -mindepth 2 -type f -name 'index.html' -not -path './site/de/*' -not -path './site/en/*' | while read f; do
2+
find ../site/ -maxdepth 2 -mindepth 2 -type f -name 'index.html' -not -path '../site/de/*' -not -path '../site/en/*' | while read f; do
53
echo "Fixing redirect '$f'..."
64
sed -i -E 's/\.en\/"/\/"/' $f
75
done

0 commit comments

Comments
 (0)