tawd: use $sysname - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 63097b491dc7b5dc50d76b5720d20e9450fbe9b8
 (DIR) parent bb72982b79e09bb055930c2877ac7077b341cf84
 (HTM) Author: Russ Cox <rsc@swtch.com>
       Date:   Tue, 12 Oct 2010 10:14:27 -0400
       
       awd: use $sysname
       
       R=rsc
       http://codereview.appspot.com/2458041
       
       Diffstat:
         M bin/awd                             |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/bin/awd b/bin/awd
       t@@ -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