SVN: toys/stbr/cancellation.sh

shadzik shadzik at pld-linux.org
Mon Nov 3 00:14:56 CET 2008


Author: shadzik
Date: Mon Nov  3 00:14:56 2008
New Revision: 9929

Added:
   toys/stbr/cancellation.sh   (contents, props changed)
Log:
- cancellation for spec functionality


Added: toys/stbr/cancellation.sh
==============================================================================
--- (empty file)
+++ toys/stbr/cancellation.sh	Mon Nov  3 00:14:56 2008
@@ -0,0 +1,26 @@
+#!/bin/bash
+# author: shadzik at pld-linux dot org
+# use with stbr.tcl at exactly the same version
+# Version: 0.8
+
+SPEC="$1"
+SEND_TO="$2"
+FROM="$3"
+
+/usr/sbin/sendmail -t <<EOF
+From: $FROM <$FROM at IRC-bot>
+To: $SEND_TO
+Subject: STBR Request Cancellation for $SPEC
+
+Hello,
+
+Please don't send $SPEC to builders!
+
+The request for $SPEC was revised and rejected by $FROM
+and is no longer valid.
+
+Thank you.
+
+Yours truly,
+STBR Requester
+EOF


More information about the pld-cvs-commit mailing list