Mason requires a hostname now (things break if this is an empty string)

db4
Doug Coleman 2010-01-21 00:42:07 -06:00
parent b7b84fc5b7
commit eacb1412e2
1 changed files with 3 additions and 1 deletions

View File

@ -8,8 +8,10 @@ calendar.format arrays mason.config locals debugger fry
continuations strings io.sockets ;
IN: mason.common
ERROR: no-host-name ;
: short-host-name ( -- string )
host-name "." split1 drop ;
host-name "." split1 drop [ no-host-name ] unless* ;
SYMBOL: current-git-id