shithub: riscv

ref: 160e36aaef907ac15bbda9af1f628b266a7568df
dir: /rc/bin/patch/notify/

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