diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2018-05-30 16:06:56 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-06-12 20:21:01 +0200 |
commit | 77f771b0411d1d5bc92b757bad1bcbc18921e6b4 (patch) | |
tree | 9d529803573822ed77700553bfc05a4fe499e352 /scripts/editions.sh | |
parent | 41df35438631f365e434ca918b210733dcc78297 (diff) | |
download | sonarqube-77f771b0411d1d5bc92b757bad1bcbc18921e6b4.tar.gz sonarqube-77f771b0411d1d5bc92b757bad1bcbc18921e6b4.zip |
[scripts] don't use pattern matching operator unless needed
Diffstat (limited to 'scripts/editions.sh')
-rwxr-xr-x | scripts/editions.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/editions.sh b/scripts/editions.sh index 238b4837e2f..fadf5cbe03a 100755 --- a/scripts/editions.sh +++ b/scripts/editions.sh @@ -13,12 +13,12 @@ function checkEditionArgument() { local editionArg="$1" local lowerEditionArg=$(toLower $editionArg) - if [ "$lowerEditionArg" == "$DEFAULT_EDITION" ]; then + if [ "$lowerEditionArg" = "$DEFAULT_EDITION" ]; then return fi for t in $EDITIONS; do - if [ "$lowerEditionArg" == "$t" ]; then + if [ "$lowerEditionArg" = "$t" ]; then return fi done |