aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/start.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/start.sh')
-rwxr-xr-xscripts/start.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/start.sh b/scripts/start.sh
index 24240bf7e54..b82329e15f3 100755
--- a/scripts/start.sh
+++ b/scripts/start.sh
@@ -36,15 +36,15 @@ else
OS='linux-x86-64'
fi
-if ! ls sonar-application/target/sonarqube-*.zip &> /dev/null; then
+if ! ls sonar-application/build/distributions/sonar-application-*.zip &> /dev/null; then
echo 'Sources are not built'
"$ROOT"/build.sh
fi
-cd sonar-application/target/
+cd sonar-application/build/distributions/
if ! ls sonarqube-*/bin/$OS/sonar.sh &> /dev/null; then
echo "Unzipping SQ..."
- unzip -qq sonarqube-*.zip
+ unzip -qq sonar-application-*.zip
fi
cd $(find sonarqube-* -type d | head -1)