shithub: riscv

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