diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2014-11-03 11:54:47 +0100 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2014-11-03 11:55:30 +0100 |
commit | dd8e6c8cb5924e702b3817edc774c6ec19d0d17e (patch) | |
tree | b11285d2c51e41e57b24f33953a460b8e8fe9ad5 /stop.sh | |
parent | 89eede7717dd056d314a214afb64a17be98fbc0e (diff) | |
download | sonarqube-dd8e6c8cb5924e702b3817edc774c6ec19d0d17e.tar.gz sonarqube-dd8e6c8cb5924e702b3817edc774c6ec19d0d17e.zip |
Fix stop.sh on Linux
Diffstat (limited to 'stop.sh')
-rwxr-xr-x | stop.sh | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -2,4 +2,10 @@ # Shortcut to stop server. It must be already built. -sh sonar-application/target/sonarqube-*/bin/macosx-universal-64/sonar.sh stop +if [[ "$OSTYPE" == "darwin"* ]]; then + OS='macosx-universal-64' +else + OS='linux-x86-64' +fi + +sh sonar-application/target/sonarqube-*/bin/$OS/sonar.sh stop |