]> git.lizzy.rs Git - plan9front.git/blob - rc/bin/patch/notify
/lib/rob: Just write the code.
[plan9front.git] / rc / bin / patch / notify
1 #!/bin/rc
2 # patch/notify
3 rfork e
4 for(i)
5         # don't flood sys when merely shuffling patches around
6         if (~ $i applied/* saved/* sorry/*) {
7                 patch/list $i | mail -s 'patch/list '^$i sys \
8                         `{cat /n/sources/patch/$i/email}
9         }