shithub: riscv

ref: 1b4758d596b70384d7f6389171030611a0f97f7c
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}
	}