aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/assembly/bin/sonar-scanner
diff options
context:
space:
mode:
authorganncamp <ann.campbell@sonarsource.com>2016-08-23 17:48:23 -0400
committerJulien HENRY <julien.henry@sonarsource.com>2017-01-13 11:06:25 +0100
commitae19303ed23f5120e228a4f7cdfb4ebe383abbd5 (patch)
tree6d686cbed7057099af89ba65ca8eeea70920217d /src/main/assembly/bin/sonar-scanner
parenta46a865c40ef5eba9a50d317be41a91301167dc2 (diff)
downloadsonar-scanner-cli-ae19303ed23f5120e228a4f7cdfb4ebe383abbd5.tar.gz
sonar-scanner-cli-ae19303ed23f5120e228a4f7cdfb4ebe383abbd5.zip
add -P to full path resolution
Diffstat (limited to 'src/main/assembly/bin/sonar-scanner')
-rwxr-xr-xsrc/main/assembly/bin/sonar-scanner2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/assembly/bin/sonar-scanner b/src/main/assembly/bin/sonar-scanner
index fcef7cd..59586af 100755
--- a/src/main/assembly/bin/sonar-scanner
+++ b/src/main/assembly/bin/sonar-scanner
@@ -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