summaryrefslogtreecommitdiff
path: root/rc/bin/sysupdate
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-06-07 00:11:47 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2015-06-07 00:11:47 +0200
commitebf43c0a0b6a7c84514af80b7e0e16298a488e3c (patch)
treefaba0ffdf9c3a2d954e28f7e73e729a0b3e7fbf1 /rc/bin/sysupdate
parent9d3bc1646915d7e7a69dcf614690fdcec6e6aa7a (diff)
downloadplan9front-ebf43c0a0b6a7c84514af80b7e0e16298a488e3c.tar.xz
sysupdate: change source repo to https://code.9front.org/hg/plan9front
code.google.com is shutting down, the new repository is on code.9front.org.
Diffstat (limited to 'rc/bin/sysupdate')
-rwxr-xr-xrc/bin/sysupdate7
1 files changed, 4 insertions, 3 deletions
diff --git a/rc/bin/sysupdate b/rc/bin/sysupdate
index 156730500..e0420b50f 100755
--- a/rc/bin/sysupdate
+++ b/rc/bin/sysupdate
@@ -1,16 +1,17 @@
#!/bin/rc
-rfork n
+rfork en
+source=https://code.9front.org/hg/plan9front
cd /
if(! test -d .hg)
bind -ac /dist/plan9front /
while(! ~ $#* 0){
switch($1){
case -i
- hg incoming
+ hg incoming $source
case *
echo usage: sysupdate '[-i]' >[1=2]
exit usage
}
shift
}
-hg -v pull -u
+hg -v pull -u $source