From 702d3529888fdf3b5c6cf49445036dfdc15362e1 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Thu, 13 May 2021 13:25:22 -0600 Subject: [PATCH] fix(scripts): quoting mistake --- entrypoint.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 125955c..eab1950 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -30,12 +30,12 @@ printf "done\n" printf "updating configuration files... " # update main.cf -sed -i 's/{LOCAL_HOSTNAME}/${LOCAL_HOSTNAME}/' /tmp/main.cf.insert -sed -i 's/{LOCAL_DOMAINNAME}/${LOCAL_DOMAINNAME}/' /tmp/main.cf.insert -sed -i 's/{SMARTHOST}/${SMARTHOST}/' /tmp/main.cf.insert -sed -i 's/{SMARTHOST_PORT}/${SMARTHOST_PORT}/' /tmp/main.cf.insert -sed -i 's/{SMARTHOST_USERNAME}/${SMARTHOST_USERNAME}/' /tmp/main.cf.insert -sed -i 's/{SMARTHOST_PASSWORD}/${SMARTHOST_PASSWORD}/' /tmp/main.cf.insert +sed -i "s/{LOCAL_HOSTNAME}/${LOCAL_HOSTNAME}/" /tmp/main.cf.insert +sed -i "s/{LOCAL_DOMAINNAME}/${LOCAL_DOMAINNAME}/" /tmp/main.cf.insert +sed -i "s/{SMARTHOST}/${SMARTHOST}/" /tmp/main.cf.insert +sed -i "s/{SMARTHOST_PORT}/${SMARTHOST_PORT}/" /tmp/main.cf.insert +sed -i "s/{SMARTHOST_USERNAME}/${SMARTHOST_USERNAME}/" /tmp/main.cf.insert +sed -i "s/{SMARTHOST_PASSWORD}/${SMARTHOST_PASSWORD}/" /tmp/main.cf.insert LOCAL_ENCRYPTION="$(convertCase "$LOCAL_ENCRYPTION")" case "$LOCAL_ENCRYPTION" in