réplica de
https://github.com/SonarSource/sonarqube.git
synced 2024-08-27 05:58:29 +02:00
![Sébastien Lesaint](/assets/img/avatar_default.png)
moved to bash instead of sh rewrite testing for existing file and directory so that hopefully it works on both Linux and MacOs
12 líneas
223 B
Bash
Archivo Ejecutable
12 líneas
223 B
Bash
Archivo Ejecutable
#!/bin/bash
|
|
|
|
# Shortcut to stop server. It must be already built.
|
|
|
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
|
OS='macosx-universal-64'
|
|
else
|
|
OS='linux-x86-64'
|
|
fi
|
|
|
|
sh sonar-application/target/sonarqube-*/bin/$OS/sonar.sh stop
|