Solution: quote ${YAML_TEMPLATE} when calling the sed command (#96)

This commit is contained in:
Kore Francis Njenga 2018-09-06 15:46:24 +03:00 committed by Chris O'Haver
parent 60f57ff95b
commit fd3ad086f8

View file

@ -138,4 +138,4 @@ sed -e "s/CLUSTER_DNS_IP/$CLUSTER_DNS_IP/g" \
-e "s@STUBDOMAINS@${STUBDOMAINS//$orig/$replace}@g" \
-e "s@FEDERATIONS@${FEDERATIONS//$orig/$replace}@g" \
-e "s/UPSTREAMNAMESERVER/$UPSTREAM/g" \
${YAML_TEMPLATE}
"${YAML_TEMPLATE}"