diff --git a/.circleci/slack-notification.sh b/.circleci/slack-notification.sh index 5f18dcb5b53..7b82930ce48 100755 --- a/.circleci/slack-notification.sh +++ b/.circleci/slack-notification.sh @@ -20,10 +20,9 @@ if [ "${CIRCLE_BRANCH}" == "master" ] || [ "${CIRCLE_BRANCH}" == "master" ] ; th pullregex="(.*)#([0-9]+)(.*)" while [[ $commitmsg =~ $pullregex ]] do - commitmsg="${BASH_REMATCH[1]}#${BASH_REMATCH[3]}" + commitmsg="${BASH_REMATCH[1]}#${BASH_REMATCH[3]}" done buildlink="" - prlink="" mesg="${author} your ${CIRCLE_BRANCH} build ${buildlink} “${commitmsg}” is almost finished." user="circleci-notify" token="${SLACK_NOTIFY_TOKEN:-}"