From 225684228d2c48a855d75e08c0c616898f25fffb Mon Sep 17 00:00:00 2001 From: chamunks Date: Tue, 5 Jun 2018 13:59:05 -0400 Subject: [PATCH] Sed apparently supports custom separators --- www.spee.ch/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www.spee.ch/docker-entrypoint.sh b/www.spee.ch/docker-entrypoint.sh index c19760a..0c86f7c 100755 --- a/www.spee.ch/docker-entrypoint.sh +++ b/www.spee.ch/docker-entrypoint.sh @@ -75,7 +75,7 @@ function set_conf() { echof info "User did not attempt to configure $SITE_ADDRESS" else echof info "Setting '$SITE_ADDRESS' $SITE_ADDRESS in /app/config/siteConfig.json" - sed -i 's/"host": "https://www.example.com"/"host": "https://"$SITE_ADDRESS/' /app/config/siteConfig.json + sed -i 's,"host": "https://www.example.com","host": "https://"$SITE_ADDRESS,' /app/config/siteConfig.json fi ;; GOOGLE_ANALYTICS_UID )