]> source.dussan.org Git - sonar-scanner-cli.git/commitdiff
add -P to full path resolution
authorganncamp <ann.campbell@sonarsource.com>
Tue, 23 Aug 2016 21:48:23 +0000 (17:48 -0400)
committerJulien HENRY <julien.henry@sonarsource.com>
Fri, 13 Jan 2017 10:06:25 +0000 (11:06 +0100)
src/main/assembly/bin/sonar-scanner

index fcef7cdef8172629f306142f5620f9c5a7d5fcc6..59586afac03f0ecedae9399c4507fc87338d2974 100755 (executable)
@@ -81,7 +81,7 @@ if [ -z "$SONAR_SCANNER_HOME" ] ; then
   SONAR_SCANNER_HOME=`dirname "$PRG"`/..
 
   # make it fully qualified
-  SONAR_SCANNER_HOME=`cd "$SONAR_SCANNER_HOME" && pwd`
+  SONAR_SCANNER_HOME=`cd "$SONAR_SCANNER_HOME" && pwd -P`
 fi
 
 # check that the SONAR_SCANNER_HOME has been correctly set