From 90a36e384448c3f3b419ddfbab3071e00392d267 Mon Sep 17 00:00:00 2001 From: Christopher Fenner <26137398+CCFenner@users.noreply.github.com> Date: Mon, 9 Mar 2020 16:38:54 +0100 Subject: fix issue with whitespaces in sonar-scanner path --- src/main/assembly/bin/sonar-scanner | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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" ] -- cgit v1.2.3