From 6d00d795cd6b1c0d34d1740ec958c407836c08ce Mon Sep 17 00:00:00 2001 From: Sébastien Lesaint Date: Wed, 13 Jun 2018 09:47:39 +0200 Subject: [scripts] drop now useless targetDirOf function in edition.sh --- scripts/logs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/logs.sh') 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} -- cgit v1.2.3