shithub: riscv

ref: c9b48aec544db0ce8a2a1a75b557c44669804e82
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}
	}