look for $HOME - thanks to peter canning.

This commit is contained in:
rsc 2004-06-17 03:30:49 +00:00
parent 372c9567e1
commit 7ae745421a

View file

@ -111,6 +111,8 @@ threadmain(int argc, char *argv[])
cputype = getenv("cputype");
objtype = getenv("objtype");
home = getenv("home");
if(home == nil)
home = getenv("HOME");
p = getenv("tabstop");
if(p != nil){
maxtab = strtoul(p, nil, 0);