shithub: riscv

ref: ad1111cb3e40371de141af7d5e72467b7d0afec7
dir: /rc/bin/sysupdate/

View raw version
#!/bin/rc
rfork n
cd /
if(! test -d .hg)
	bind -ac /dist/plan9front /
while(! ~ $#* 0){
	switch($1){
	case -i
		hg incoming
	case *
		echo usage: sysupdate [-i] >[1=2]
		exit usage
	}
	shift
}
hg -v pull -u