From 09d737ce9afa08ea1012826c6221537fa8afbd2b Mon Sep 17 00:00:00 2001 From: Pierre Jaury Date: Sun, 13 Mar 2016 17:45:39 +0100 Subject: [PATCH] Change the sed delimiter to avoid some errors --- postfix/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postfix/start.sh b/postfix/start.sh index a0353e16..14ad6367 100755 --- a/postfix/start.sh +++ b/postfix/start.sh @@ -2,7 +2,7 @@ # Substitute configuration for VARIABLE in `env | cut -f1 -d=`; do - sed -i "s,{{ $VARIABLE }},${!VARIABLE},g" /etc/postfix/*.cf + sed -i "s={{ $VARIABLE }}=${!VARIABLE}=g" /etc/postfix/*.cf done # Actually run Postfix