From: Don Armstrong Date: Thu, 5 Jun 2014 18:14:12 +0000 (-0700) Subject: handle shoudl i build X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=46f033b5f26db000f1829b0125a90e71970030fb;p=bin.git handle shoudl i build --- diff --git a/buildd_sign b/buildd_sign index 42d6802..70e1069 100755 --- a/buildd_sign +++ b/buildd_sign @@ -42,6 +42,11 @@ for a in "$@"; do mutt -e 'set content_type="text/plain; charset=utf-8"' -s "Re: $SUBJECT" "$RETURN_PATH"; mark_read "${a}"; echo "Handled '${SUBJECT}'"; + elif egrep -q '^Subject: Should I build' "$a"; then + echo 'ok'| \ + mutt -e 'set content_type="text/plain; charset=utf-8"' -s "Re: $SUBJECT" "$RETURN_PATH"; + mark_read "${a}"; + echo "Handled '${SUBJECT}'"; elif egrep -q '^Subject: Log.+attempted' "$a" && egrep -q "ERROR: dependency .* is not available for package .*" "$a"; then (echo -n 'fail '; egrep "ERROR: dependency .* is not available for package .*" "$a")| \