diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2018-05-30 16:10:05 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-06-12 20:21:01 +0200 |
commit | 7e59b1e27f80a5d466913a3b9040ee82d1ae2e52 (patch) | |
tree | 08b5777d40923468cefe2fc455bd3f4233ea267b /scripts/stop.sh | |
parent | 77f771b0411d1d5bc92b757bad1bcbc18921e6b4 (diff) | |
download | sonarqube-7e59b1e27f80a5d466913a3b9040ee82d1ae2e52.tar.gz sonarqube-7e59b1e27f80a5d466913a3b9040ee82d1ae2e52.zip |
[scripts] declare bash function in portable fashion
Diffstat (limited to 'scripts/stop.sh')
-rwxr-xr-x | scripts/stop.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/stop.sh b/scripts/stop.sh index 8b94cd2d2a7..8c2cdd8a936 100755 --- a/scripts/stop.sh +++ b/scripts/stop.sh @@ -17,7 +17,7 @@ else OS='linux-x86-64' fi -function stopAny() { +stopAny() { for edition in $EDITIONS; do SONAR_SH="$(distributionDirOf "$edition")/$(targetDirOf "$edition")/sonarqube-*/bin/$OS/sonar.sh" if ls $SONAR_SH &> /dev/null; then |