diff options
author | Russ Cox <rsc@swtch.com> | 2010-10-12 10:14:27 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2010-10-12 10:14:27 -0400 |
commit | 63097b491dc7b5dc50d76b5720d20e9450fbe9b8 (patch) | |
tree | fe999108bf9680f809701f30496c2a4ebfe2a0c2 /bin | |
parent | bb72982b79e09bb055930c2877ac7077b341cf84 (diff) | |
download | plan9port-63097b491dc7b5dc50d76b5720d20e9450fbe9b8.tar.gz plan9port-63097b491dc7b5dc50d76b5720d20e9450fbe9b8.tar.bz2 plan9port-63097b491dc7b5dc50d76b5720d20e9450fbe9b8.zip |
awd: use $sysname
R=rsc
http://codereview.appspot.com/2458041
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/awd | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ case $# in ;; 0) # hostname -s sets the hostname to "-s" on Solaris - sys=`hostname |sed 's/\..*//'` + sys=${sysname:-$(hostname |sed 's/\..*//')} ;; *) usage |