From 4ea0705aaac0e8efb79b0e8e5db1ce70e0cd4f8e Mon Sep 17 00:00:00 2001 From: Mastah <32886437+akhamar@users.noreply.github.com> Date: Mon, 15 Jul 2024 11:02:51 +0200 Subject: [PATCH 1/2] Update libsonarqube.sh Fix issue with extra env var with equals in them Signed-off-by: Mastah <32886437+akhamar@users.noreply.github.com> --- .../9/debian-12/rootfs/opt/bitnami/scripts/libsonarqube.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitnami/sonarqube/9/debian-12/rootfs/opt/bitnami/scripts/libsonarqube.sh b/bitnami/sonarqube/9/debian-12/rootfs/opt/bitnami/scripts/libsonarqube.sh index e655df964ea28..8fcfd0590b9be 100644 --- a/bitnami/sonarqube/9/debian-12/rootfs/opt/bitnami/scripts/libsonarqube.sh +++ b/bitnami/sonarqube/9/debian-12/rootfs/opt/bitnami/scripts/libsonarqube.sh @@ -135,7 +135,7 @@ sonarqube_initialize() { if [[ "${#additional_properties[@]}" -gt 0 ]]; then info "Adding properties provided via SONARQUBE_EXTRA_PROPERTIES to sonar.properties" for property in "${additional_properties[@]}"; do - sonarqube_conf_set "${property%=*}" "${property#*=}" + sonarqube_conf_set "${property%%=*}" "${property#*=}" done fi From 9868ab82bac95af749c315e3591c61368d2063cd Mon Sep 17 00:00:00 2001 From: Mastah <32886437+akhamar@users.noreply.github.com> Date: Mon, 15 Jul 2024 11:04:00 +0200 Subject: [PATCH 2/2] Update libsonarqube.sh Fix issue with extra env var with equals in them Signed-off-by: Mastah <32886437+akhamar@users.noreply.github.com> --- .../10/debian-12/rootfs/opt/bitnami/scripts/libsonarqube.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitnami/sonarqube/10/debian-12/rootfs/opt/bitnami/scripts/libsonarqube.sh b/bitnami/sonarqube/10/debian-12/rootfs/opt/bitnami/scripts/libsonarqube.sh index e655df964ea28..8fcfd0590b9be 100644 --- a/bitnami/sonarqube/10/debian-12/rootfs/opt/bitnami/scripts/libsonarqube.sh +++ b/bitnami/sonarqube/10/debian-12/rootfs/opt/bitnami/scripts/libsonarqube.sh @@ -135,7 +135,7 @@ sonarqube_initialize() { if [[ "${#additional_properties[@]}" -gt 0 ]]; then info "Adding properties provided via SONARQUBE_EXTRA_PROPERTIES to sonar.properties" for property in "${additional_properties[@]}"; do - sonarqube_conf_set "${property%=*}" "${property#*=}" + sonarqube_conf_set "${property%%=*}" "${property#*=}" done fi