From: Christopher Fenner <26137398+CCFenner@users.noreply.github.com> Date: Mon, 9 Mar 2020 15:38:54 +0000 (+0100) Subject: fix issue with whitespaces in sonar-scanner path X-Git-Tag: 4.4.0.2170~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=90a36e384448c3f3b419ddfbab3071e00392d267;p=sonar-scanner-cli.git fix issue with whitespaces in sonar-scanner path --- diff --git a/src/main/assembly/bin/sonar-scanner b/src/main/assembly/bin/sonar-scanner index e73cf23..e0e4c9d 100755 --- a/src/main/assembly/bin/sonar-scanner +++ b/src/main/assembly/bin/sonar-scanner @@ -39,7 +39,7 @@ fi use_embedded_jre=${use_embedded_jre} if [ "$use_embedded_jre" = true ]; then - export JAVA_HOME=$sonar_scanner_home/jre + export JAVA_HOME="$sonar_scanner_home/jre" fi if [ -n "$JAVA_HOME" ]