You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by da...@apache.org on 2017/05/29 04:36:08 UTC
svn commit: r1796572 -
/spamassassin/trunk/build/mkupdates/do-stable-update-with-scores
Author: davej
Date: Mon May 29 04:36:08 2017
New Revision: 1796572
URL: http://svn.apache.org/viewvc?rev=1796572&view=rev
Log:
Enabled email notifications after debugging.
Modified:
spamassassin/trunk/build/mkupdates/do-stable-update-with-scores
Modified: spamassassin/trunk/build/mkupdates/do-stable-update-with-scores
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/mkupdates/do-stable-update-with-scores?rev=1796572&r1=1796571&r2=1796572&view=diff
==============================================================================
--- spamassassin/trunk/build/mkupdates/do-stable-update-with-scores (original)
+++ spamassassin/trunk/build/mkupdates/do-stable-update-with-scores Mon May 29 04:36:08 2017
@@ -12,26 +12,26 @@ echo ''
RV=$?
if [ $RV -ne 0 ] ; then
- echo "Exit Status $RV is not zero for do-nightly-rescore-example"
-# (
-# echo "From: nobody@spamassassin.apache.org (UpdatesD Cron)"
-# echo "Subject: [auto] do-nightly-rescore-example $RV"
-# echo
-# echo "Exit Status $RV is not zero for do-nightly-rescore-example."
-# ) | /usr/sbin/sendmail -oi ruleqa@spamassassin.apache.org
+ echo "Exit Status $RV is not zero for do-nightly-rescore-example"
+ (
+ echo "From: nobody@spamassassin.apache.org (UpdatesD Cron)"
+ echo "Subject: [auto] do-nightly-rescore-example $RV"
+ echo ""
+ echo "Exit Status $RV is not zero for do-nightly-rescore-example."
+ ) | /usr/sbin/sendmail -oi ruleqa@spamassassin.apache.org
else
- echo 'Running mkupdate-with-scores...'
- echo ''
- /usr/local/spamassassin/automc/svn/build/mkupdates/mkupdate-with-scores
- RV=$?
- if [ $RV -ne 0 ] ; then
- echo "Exit Status $RV is not zero for mkupdate-with-scores"
-# (
-# echo "From: nobody@spamassassin.apache.org (UpdatesD Cron)"
-# echo "Subject: [auto] mkupdate-with-scores $RV"
-# echo
-# echo "Exit Status $RV is not zero for mkupdate-with-scores"
-# ) | /usr/sbin/sendmail -oi ruleqa@spamassassin.apache.org
- fi
+ echo "Running mkupdate-with-scores..."
+ echo ""
+ /usr/local/spamassassin/automc/svn/build/mkupdates/mkupdate-with-scores
+ RV=$?
+ if [ $RV -ne 0 ] ; then
+ echo "Exit Status $RV is not zero for mkupdate-with-scores"
+ (
+ echo "From: nobody@spamassassin.apache.org (UpdatesD Cron)"
+ echo "Subject: [auto] mkupdate-with-scores $RV"
+ echo ""
+ echo "Exit Status $RV is not zero for mkupdate-with-scores"
+ ) | /usr/sbin/sendmail -oi ruleqa@spamassassin.apache.org
+ fi
fi