summaryrefslogtreecommitdiff
path: root/rc/bin
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@rei2.9hal>2012-03-03 18:06:40 +0100
committercinap_lenrek <cinap_lenrek@rei2.9hal>2012-03-03 18:06:40 +0100
commitd38d52391a0585b72b6ee08d4df40bbb5159fe9f (patch)
treed440b96bb5e0f1b2b820a3b12a0caeef9d984fe4 /rc/bin
parente3e394b4d60c3ce5b1db89b0d9dbcf009de198e9 (diff)
downloadplan9front-d38d52391a0585b72b6ee08d4df40bbb5159fe9f.tar.xz
sysupdate: namespace side effects, show what files are getting updated
Diffstat (limited to 'rc/bin')
-rwxr-xr-xrc/bin/sysupdate9
1 files changed, 5 insertions, 4 deletions
diff --git a/rc/bin/sysupdate b/rc/bin/sysupdate
index 0f2648ef9..663844961 100755
--- a/rc/bin/sysupdate
+++ b/rc/bin/sysupdate
@@ -1,5 +1,6 @@
#!/bin/rc
-
-bind -ac /dist/plan9front /
-hg incoming
-hg pull && hg update
+rfork n
+cd /
+if(! test -d .hg)
+ bind -ac /dist/plan9front /
+hg incoming && hg pull && hg -v update