]> source.dussan.org Git - sonar-scanner-cli.git/commitdiff
fix issue with whitespaces in sonar-scanner path
authorChristopher Fenner <26137398+CCFenner@users.noreply.github.com>
Mon, 9 Mar 2020 15:38:54 +0000 (16:38 +0100)
committerPierre Guillot <50145663+pierre-guillot-sonarsource@users.noreply.github.com>
Mon, 16 Mar 2020 08:27:17 +0000 (09:27 +0100)
src/main/assembly/bin/sonar-scanner

index e73cf23f9f31a5eec93dafe8c2972cb98d72714f..e0e4c9d3ab7f2f94f9998a6f773901cb030c6572 100755 (executable)
@@ -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" ]