]> source.dussan.org Git - sonar-scanner-cli.git/commitdiff
SONARPLUGINS-2798 Replace "-e" by "-f" in sonar-runner bash script
authorSimonBrandhof <simon.brandhof@gmail.com>
Thu, 4 Apr 2013 13:05:10 +0000 (15:05 +0200)
committerSimonBrandhof <simon.brandhof@gmail.com>
Thu, 4 Apr 2013 13:05:10 +0000 (15:05 +0200)
sonar-runner-dist/src/main/assembly/bin/sonar-runner

index e769243f3489f9da079bd1bb86f449159a8ba6b8..1658fcbaf937cf1b6daba429c2805200032b0609 100755 (executable)
@@ -78,7 +78,7 @@ if [ -z "$SONAR_RUNNER_HOME" ] ; then
 fi
 
 # check that the SONAR_RUNNER_HOME has been correctly set
-if [ ! -e "$SONAR_RUNNER_HOME/lib/sonar-runner-dist-${project.version}.jar" ] ; then
+if [ ! -f "$SONAR_RUNNER_HOME/lib/sonar-runner-dist-${project.version}.jar" ] ; then
   echo '$SONAR_RUNNER_HOME' does not point to a valid installation directory: $SONAR_RUNNER_HOME
   exit 1
 fi