From b99c93fa0324f4e134cbe95652873683afdca51f Mon Sep 17 00:00:00 2001 From: Marjan Schiller Date: Fri, 3 May 2013 16:40:53 +0200 Subject: [PATCH] Check if approval mail will be send. --- liveboot_approval_mail.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/liveboot_approval_mail.sh b/liveboot_approval_mail.sh index e052f14..85a14f7 100755 --- a/liveboot_approval_mail.sh +++ b/liveboot_approval_mail.sh @@ -8,6 +8,13 @@ set -e export echo +# +# check if mail should be sent +# +if [ ${AUTOTEST_SEND_APPROVAL_MAIL} == "false" ]; then + echo "No approval mail will be send." +fi + # # check if we have a LIVEBOOT_BUILD_NUMBER # -- 2.39.5