diff --git a/sonar.sh b/sonar.sh
index 1c440608e5f82480044032fdefd895f6189366d1..d93fa7ea162627a0414f2b57aba9a8012d53c139 100755
--- a/sonar.sh
+++ b/sonar.sh
@@ -1 +1 @@
-mvn sonar:sonar -D sonar.branch.name="$(git rev-parse --abbrev-ref HEAD|tr / _ )" -DskipTests=true -Dsonar.language=java -Dsonar.report.export.path=sonar-report.json -Dsonar.host.url=http://localhost:9000 --activate-profiles sonar
+mvn sonar:sonar -D sonar.branch.name="$(git rev-parse --abbrev-ref HEAD)" -DskipTests=true -Dsonar.language=java -Dsonar.report.export.path=sonar-report.json -Dsonar.host.url=http://localhost:9000 --activate-profiles sonar