plan9fox/rc/bin/patch/notify
2011-03-30 18:38:15 +00:00

10 lines
223 B
Bash
Executable file

#!/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}
}