diff --git a/postgres-backup/app/includes.sh b/postgres-backup/app/includes.sh index d68064f..b86abde 100644 --- a/postgres-backup/app/includes.sh +++ b/postgres-backup/app/includes.sh @@ -57,7 +57,7 @@ function export_env_file() { if [[ -f "${ENV_FILE}" ]]; then echo "find \"${ENV_FILE}\" file and export variables" set -a - source <(cat "${ENV_FILE}" | sed -e '/^#/d;/^\s*$/d' -e 's/\(\w*\)[ \t]*=[ \t]*\(.*\)/DOTENV_\1=\2/') + source <(sed -e '/^#/d;/^\s*$/d' -e 's/\(\w*\)[ \t]*=[ \t]*\(.*\)/DOTENV_\1=\2/' "${ENV_FILE}") set +a fi }