shithub: riscv

ref: 806f97a47b461a8389d91b29f5cd5345774f84b0
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}
	}