From d1aae84266a86df7b7dc8cc27ef826c6143bb6e8 Mon Sep 17 00:00:00 2001 From: Ian <52504170+ibacher@users.noreply.github.com> Date: Fri, 9 Aug 2024 14:34:33 -0400 Subject: [PATCH] Do not append spaces when creating EXTRA_PROPERTIES --- startup-init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/startup-init.sh b/startup-init.sh index e6e8deea890f..f475648b728f 100644 --- a/startup-init.sh +++ b/startup-init.sh @@ -151,7 +151,7 @@ if [[ -n "${EXTRA_VARS+x}" ]]; then var=$(echo "${i#OMRS_EXTRA_}" | tr [:upper:] [:lower:]) var=${var//_/.} var=${var//../_} - EXTRA_PROPERTIES+="${var}=${!i} \n" + EXTRA_PROPERTIES+="${var}=${!i}\n" done echo -e "$EXTRA_PROPERTIES" >> "$OMRS_SERVER_PROPERTIES_FILE"