fix more enviroment pollution

This commit is contained in:
cinap_lenrek 2012-05-26 21:50:10 +02:00
parent 812e0fd058
commit 845db4c372
5 changed files with 16 additions and 23 deletions

View file

@ -1,7 +1,6 @@
#!/bin/rc
rfork e
wide=`{echo $vgasize | sed 's/(.*)x.*x.*/\1 > 240/' | hoc}
debug=0
tflag=''
wflag=''

View file

@ -1,4 +1,6 @@
#!/bin/rc
#!/bin/rc
rfork e
fn logprog{
echo % `{echo $"* | sed 's/#/''#''/g'}
$*

View file

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

View file

@ -1,4 +1,5 @@
#!/bin/rc
rfork e
v=()

View file

@ -1,7 +1,6 @@
#!/bin/rc
rfork e
wide=`{echo $vgasize | sed 's/(.*)x.*x.*/\1 > 240/' | hoc}
debug=0
tflag=''
wflag=''