#!/usr/bin/with-contenv sh SAN_DOMAINS="" export IFS=";" for SAN in ${POSTGRES_SAN} do SAN_DOMAINS="${SAN_DOMAINS} --domains=\"${SAN}\"" done echo ${SAN_DOMAINS}