]> source.dussan.org Git - sonar-scanner-cli.git/commitdiff
SQSCANNER-25 Fix regression with SONAR_RUNNER_OPTS
authorJulien HENRY <henryju@yahoo.fr>
Tue, 5 Jul 2016 12:41:20 +0000 (14:41 +0200)
committerJulien HENRY <henryju@yahoo.fr>
Tue, 5 Jul 2016 12:41:20 +0000 (14:41 +0200)
src/main/assembly/bin/sonar-runner.bat

index b004a1016da282d36136253ab579fe64bbea88ea..7ff47bae988e505eaa9b66f544e15127ded1808a 100644 (file)
@@ -74,7 +74,7 @@ if "%SONAR_RUNNER_OPTS%" == "" (
   goto run
 ) else (
   echo WARN: SONAR_RUNNER_OPTS is deprecated. Please use SONAR_SCANNER_OPTS instead.
-  if not "%SONAR_SCANNER_OPTS%" == "" (set SONAR_SCANNER_OPTS=%SONAR_RUNNER_OPTS%)
+  if "%SONAR_SCANNER_OPTS%" == "" (set SONAR_SCANNER_OPTS=%SONAR_RUNNER_OPTS%)
 ) 
 
 @REM ==== START RUN ====