]> git.lizzy.rs Git - plan9front.git/blobdiff - rc/bin/sysupdate
g: revert accidental change, document missing file type
[plan9front.git] / rc / bin / sysupdate
index 156730500413a8f33b55b891f2520d5d6cfcf10e..e0420b50fe4e6a308aa962d4d24a9eb4b2a8f937 100755 (executable)
@@ -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