plan9fox/rc/bin/patch/notify

10 lines
223 B
Text
Raw Normal View History

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