From 46f033b5f26db000f1829b0125a90e71970030fb Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Thu, 5 Jun 2014 11:14:12 -0700 Subject: [PATCH] handle shoudl i build --- buildd_sign | 5 +++++ 1 file changed, 5 insertions(+) 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")| \ -- 2.39.2