shithub: riscv

ref: dda7b2c49fe54d500769216f37b54d189b3b03a4
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