diff --git a/Dockerfile b/Dockerfile index b409c4407d..5502e21878 100644 --- a/Dockerfile +++ b/Dockerfile @@ -53,7 +53,7 @@ if [ "${JEKYLL_ENV}" = "production" ]; then ( set -x bundle exec jekyll build --profile -d ${TARGET} --config _config.yml,_config_production.yml - sed -i 's#/#https://${DOMAIN}/#' "${TARGET}/sitemap.xml" + sed -i "s#/#https://${DOMAIN}/#" "${TARGET}/sitemap.xml" ) else ( @@ -64,7 +64,7 @@ else ) fi find ${TARGET} -type f -name '*.html' | while read i; do - sed -i 's#\(]* href="\)https://${DOMAIN}/#\1/#g' "$i" + sed -i "s#\(]* href=\"\)https://${DOMAIN}/#\1/#g" "$i" done EOT