diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2020-06-02 14:37:15 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2020-06-02 14:37:15 +0300 |
commit | 89aac6aa544429a798855ba609e36bf7a89c0cfc (patch) | |
tree | e6a562cdbb23a79218e9aaef3f89223e580c72b1 /scripts | |
parent | ddf69a7b1bf145277cfc2b72280c6a23a26c55d0 (diff) |
Fix typos in normalize-links script
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/normalize-links.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/normalize-links.sh b/scripts/normalize-links.sh index 518f4abc..c94c5ffe 100755 --- a/scripts/normalize-links.sh +++ b/scripts/normalize-links.sh @@ -61,16 +61,16 @@ find ${TARGET} -type f -name '*.html' -print0 | xargs -0 sed -i 's#="/opensearch echo "Replace full URLs in $TARGET/$VER for /ce/" find ${TARGET} -type f -name '*.html' -print0 | xargs -0 sed -i 's#="https://docs.gitlab.com/ce/#="/'"$VER"'/ce/#g' -echo "Replace full URLs in $TARGET/$VER for /ce/" +echo "Replace full URLs in $TARGET/$VER for /ee/" find ${TARGET} -type f -name '*.html' -print0 | xargs -0 sed -i 's#="https://docs.gitlab.com/ee/#="/'"$VER"'/ee/#g' -echo "Replace full URLs in $TARGET/$VER for /ce/" +echo "Replace full URLs in $TARGET/$VER for /runner/" find ${TARGET} -type f -name '*.html' -print0 | xargs -0 sed -i 's#="https://docs.gitlab.com/runner/#="/'"$VER"'/runner/#g' -echo "Replace full URLs in $TARGET/$VER for /ce/" +echo "Replace full URLs in $TARGET/$VER for /omnibus/" find ${TARGET} -type f -name '*.html' -print0 | xargs -0 sed -i 's#="https://docs.gitlab.com/omnibus/#="/'"$VER"'/omnibus/#g' -echo "Replace full URLs in $TARGET/$VER for /ce/" +echo "Replace full URLs in $TARGET/$VER for /charts/" find ${TARGET} -type f -name '*.html' -print0 | xargs -0 sed -i 's#="https://docs.gitlab.com/charts/#="/'"$VER"'/charts/#g' echo "Fix URLs inside the sitemap" |