aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/main/assembly/bin/sonar-runner4
-rwxr-xr-xsrc/main/assembly/bin/sonar-scanner4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/main/assembly/bin/sonar-runner b/src/main/assembly/bin/sonar-runner
index a02252d..bfe62ed 100755
--- a/src/main/assembly/bin/sonar-runner
+++ b/src/main/assembly/bin/sonar-runner
@@ -96,7 +96,7 @@ exec "$java_cmd" \
-Djava.awt.headless=true \
$SONAR_SCANNER_OPTS \
-classpath "$jar_file" \
- -Dscanner.home=\$sonar_runner_home \
- -Dproject.home=\$project_home \
+ -Dscanner.home="$sonar_runner_home" \
+ -Dproject.home="$project_home" \
org.sonarsource.scanner.cli.Main "$@"
diff --git a/src/main/assembly/bin/sonar-scanner b/src/main/assembly/bin/sonar-scanner
index 93e99d9..74263bd 100755
--- a/src/main/assembly/bin/sonar-scanner
+++ b/src/main/assembly/bin/sonar-scanner
@@ -88,7 +88,7 @@ exec "$java_cmd" \
$SONAR_SCANNER_OPTS \
$SONAR_SCANNER_DEBUG_OPTS \
-classpath "$jar_file" \
- -Dscanner.home=\$sonar_scanner_home \
- -Dproject.home=\$project_home \
+ -Dscanner.home="$sonar_scanner_home" \
+ -Dproject.home="$project_home" \
org.sonarsource.scanner.cli.Main "$@"