diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2018-06-13 09:47:39 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-06-13 20:20:50 +0200 |
commit | 6d00d795cd6b1c0d34d1740ec958c407836c08ce (patch) | |
tree | 605a451e272b34cb3f66a996e0e9c72571975c21 /scripts/logs.sh | |
parent | 6ef18d84cd2f6dfc243b13cc6831a6b4b4f3c62b (diff) | |
download | sonarqube-6d00d795cd6b1c0d34d1740ec958c407836c08ce.tar.gz sonarqube-6d00d795cd6b1c0d34d1740ec958c407836c08ce.zip |
[scripts] drop now useless targetDirOf function in edition.sh
Diffstat (limited to 'scripts/logs.sh')
-rwxr-xr-x | scripts/logs.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/logs.sh b/scripts/logs.sh index f5078ee47fa..d7c567a6a31 100755 --- a/scripts/logs.sh +++ b/scripts/logs.sh @@ -90,9 +90,9 @@ if [ "$script_name" = "logs.sh" ]; then checkEditionArgument "$EDITION" checkLogArgument "$LOG" - SQ_HOME_WILDCARD="$(distributionDirOf "$EDITION")/$(targetDirOf "$EDITION")/sonarqube-*" + SQ_HOME_WILDCARD="$(distributionDirOf "$EDITION")/sonarqube-*" if ! ls ${SQ_HOME_WILDCARD} &> /dev/null; then - echo "$(targetDirOf "$EDITION") is not unpacked" + echo "$(baseFileNameOf "$EDITION") is not unpacked" exit 1 fi cd ${SQ_HOME_WILDCARD} |