aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristopher Fenner <26137398+CCFenner@users.noreply.github.com>2020-03-09 16:38:54 +0100
committerPierre Guillot <50145663+pierre-guillot-sonarsource@users.noreply.github.com>2020-03-16 09:27:17 +0100
commit90a36e384448c3f3b419ddfbab3071e00392d267 (patch)
tree1a50fe15310cd6c49f2fe4662f3b18427bf40629 /src
parentae038e155d03502e1dcd154408f29a057f089456 (diff)
downloadsonar-scanner-cli-90a36e384448c3f3b419ddfbab3071e00392d267.tar.gz
sonar-scanner-cli-90a36e384448c3f3b419ddfbab3071e00392d267.zip
fix issue with whitespaces in sonar-scanner path
Diffstat (limited to 'src')
-rwxr-xr-xsrc/main/assembly/bin/sonar-scanner2
1 files changed, 1 insertions, 1 deletions
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" ]