diff options
| author | Russ Cox <rsc@swtch.com> | 2007-11-27 15:39:06 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@swtch.com> | 2007-11-27 15:39:06 -0500 |
| commit | 83ab7d88962d717ca5729e7337706b6e4da48af6 (patch) | |
| tree | 2dcaeba8fec383733357f4db5e9c2d0718767838 /bin | |
| parent | 00a8743cd85fcb605a06382387ac526e7fe8bf36 (diff) | |
| parent | 00a8743cd85fcb605a06382387ac526e7fe8bf36 (diff) | |
| download | plan9port-83ab7d88962d717ca5729e7337706b6e4da48af6.tar.gz plan9port-83ab7d88962d717ca5729e7337706b6e4da48af6.zip | |
merge
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/9fs | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -6,18 +6,23 @@ if(! ~ $#* 1){ } fn srv1 { + flag=() + if(~ $1 -*){ + flag=$1 + shift + } if(! 9p stat $1 >/dev/null >[2=1]){ rm -f $ns/$1 - srv -a $2 $1 + srv $flag $2 $1 } } ns=`{namespace} switch($1){ case tip - srv1 tip utumno.tip9ug.jp + srv1 -a tip utumno.tip9ug.jp case sources - srv1 sources sources.cs.bell-labs.com + srv1 -n sources sources.cs.bell-labs.com case * srv1 $1 $1 } |
