summaryrefslogtreecommitdiff
path: root/rc/bin/patch/notify
diff options
context:
space:
mode:
Diffstat (limited to 'rc/bin/patch/notify')
-rwxr-xr-xrc/bin/patch/notify9
1 files changed, 9 insertions, 0 deletions
diff --git a/rc/bin/patch/notify b/rc/bin/patch/notify
new file mode 100755
index 000000000..14c07169c
--- /dev/null
+++ b/rc/bin/patch/notify
@@ -0,0 +1,9 @@
+#!/bin/rc
+# patch/notify
+rfork e
+for(i)
+ # don't flood sys when merely shuffling patches around
+ if (~ $i applied/* saved/* sorry/*) {
+ patch/list $i | mail -s 'patch/list '^$i sys \
+ `{cat /n/sources/patch/$i/email}
+ }