aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2017-02-22 17:34:26 +0100
committerDuarte Meneses <duarte.meneses@sonarsource.com>2017-02-22 17:34:26 +0100
commitb9b73dea54eb704ae98fad94c412fd3f41b5a0f4 (patch)
tree4603f9a02a76f440288edb13ea689f66661aaad3
parent37a2cbd1ff750e17645d1d1946bea3feb1d5299b (diff)
downloadsonar-scanner-cli-b9b73dea54eb704ae98fad94c412fd3f41b5a0f4.tar.gz
sonar-scanner-cli-b9b73dea54eb704ae98fad94c412fd3f41b5a0f4.zip
Fix scripts
-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 "$@"