diff --git a/ct/sonarqube.sh b/ct/sonarqube.sh index 39c2cffd8..ddf5f714d 100644 --- a/ct/sonarqube.sh +++ b/ct/sonarqube.sh @@ -43,7 +43,7 @@ function update_script() { RELEASE=$(get_latest_github_release "SonarSource/sonarqube") curl -fsSL "https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-${RELEASE}.zip" -o $temp_file unzip -q "$temp_file" -d /opt - mv /opt/sonarqube-* /opt/sonarqube + mv /opt/sonarqube-${RELEASE} /opt/sonarqube msg_ok "Updated SonarQube" msg_info "Restoring Backup"