From 912864c229c665ba98a0a2959d845fc5768eaa5c Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 21 Jan 2024 09:11:07 +0100 Subject: [PATCH] * MOD: cleanup Signed-off-by: Uwe Hermann --- postgres-backup/app/includes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }