From dbeea2514b5124dfcad06c235216d3956d74730a Mon Sep 17 00:00:00 2001
From: Armin Co <armin.co@hs-bochum.de>
Date: Sun, 25 Oct 2020 20:05:30 +0100
Subject: [PATCH] Fix appending strings

---
 config.sh | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/config.sh b/config.sh
index 5eaa1b2..d2bf5af 100755
--- a/config.sh
+++ b/config.sh
@@ -26,16 +26,16 @@ DOCKER_COMPOSE_FILES="$base_compose_file"
 
 # Letsencrypt
 letsencrypt_compose_file=" -f letsencrypt-webserver/docker-compose.yml "
-$DOCKER_COMPOSE_FILES+="$letsencrypt_compose_file"
+DOCKER_COMPOSE_FILES+=$"$letsencrypt_compose_file"
 LETSENCRYPT_DIR=letsencrypt-webserver
-LETSENCRYPT_URL="$GIT_URL$LETSENCRYPT_DIR".git
+LETSENCRYPT_URL="$GIT_URL""$LETSENCRYPT_DIR".git
 
 # Jitsi
 JITSI_DIR=jitsi-auto-config
 JITSI_URL="$GIT_URL$JITSI_DIR".git
 if [ "$USE_JITSI" == "true" ]; then
 jitsi_compose_file=" -f jitsi/docker-compose.yml "
-$DOCKER_COMPOSE_FILES+="$jitsi_compose_file"
+DOCKER_COMPOSE_FILES+=$"$jitsi_compose_file"
 SUB_DOMAINS+="jitsi,"
 fi
 
@@ -44,7 +44,7 @@ NOVNC_DIR=novnc
 NOVNC_URL="$GIT_URL$NOVNC_DIR".git
 if [ "$USE_NO_VNC" == "true" ]; then
 novnc_compose_file=" -f ./novnc/docker-compose.yml "
-$DOCKER_COMPOSE_FILES+="$novnc_compose_file"
+DOCKER_COMPOSE_FILES+=$"$novnc_compose_file"
 fi
 
 # Mumble
@@ -52,6 +52,6 @@ MUMBLE_DIR=build-mumble-web
 MUMBLE_URL=https://github.com/Johni0702/mumble-web.git
 if [ "$USE_MUMBLE" == "true" ]; then
 mumble_compose_file=" -f ./build-mumble-web/docker-compose.production.yml"
-$DOCKER_COMPOSE_FILES+="$mumble_compose_file"
+DOCKER_COMPOSE_FILES+=$"$mumble_compose_file"
 SUB_DOMAINS+="mumble-web"
 fi
-- 
GitLab