From: SimonBrandhof Date: Thu, 4 Apr 2013 13:05:10 +0000 (+0200) Subject: SONARPLUGINS-2798 Replace "-e" by "-f" in sonar-runner bash script X-Git-Tag: 2.5-rc1~179^2~7 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=23e61cff42851f151810ce2945af0dd3e48cac8e;p=sonar-scanner-cli.git SONARPLUGINS-2798 Replace "-e" by "-f" in sonar-runner bash script --- diff --git a/sonar-runner-dist/src/main/assembly/bin/sonar-runner b/sonar-runner-dist/src/main/assembly/bin/sonar-runner index e769243..1658fcb 100755 --- a/sonar-runner-dist/src/main/assembly/bin/sonar-runner +++ b/sonar-runner-dist/src/main/assembly/bin/sonar-runner @@ -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